/wp-content/plugins/wordpress-seo/admin/config-ui/fields/class-field-title-intro.php

https://bitbucket.org/carloskikea/helpet · PHP · 29 lines · 13 code · 5 blank · 11 comment · 0 complexity · baa61f4ba9664a844805444e06d20d03 MD5 · raw file

  1. <?php
  2. /**
  3. * WPSEO plugin file.
  4. *
  5. * @package WPSEO\Admin\ConfigurationUI
  6. */
  7. /**
  8. * Class WPSEO_Config_Field_Title_Intro
  9. */
  10. class WPSEO_Config_Field_Title_Intro extends WPSEO_Config_Field {
  11. /**
  12. * WPSEO_Config_Field_Social_Profiles_Intro constructor.
  13. */
  14. public function __construct() {
  15. parent::__construct( 'titleIntro', 'HTML' );
  16. $html = __( 'On this page, you can change the name of your site and choose which
  17. separator to use. The separator will display, for instance, between your
  18. post title and site name. Symbols are shown in the size they\'ll appear in
  19. the search results. Choose the one that fits your brand best or takes up
  20. the least space in the snippets.', 'wordpress-seo' );
  21. $html = '<p>' . esc_html( $html ) . '</p>';
  22. $this->set_property( 'html', $html );
  23. }
  24. }