/admin/config-ui/fields/class-field-social-profiles-intro.php

  1. <?php 
  2. /** 
  3. * @package WPSEO\Admin\ConfigurationUI 
  4. */ 
  5.  
  6. /** 
  7. * Class WPSEO_Config_Field_Social_Profiles_Intro 
  8. */ 
  9. class WPSEO_Config_Field_Social_Profiles_Intro extends WPSEO_Config_Field { 
  10.  
  11. /** 
  12. * WPSEO_Config_Field_Social_Profiles_Intro constructor. 
  13. */ 
  14. public function __construct() { 
  15. parent::__construct( 'socialProfilesIntro', 'HTML' ); 
  16.  
  17. $intro_text = __( 'Please add all your relevant social profiles. We use these to let search engines know about them, and to enhance your social metadata:', 'wordpress-seo' ); 
  18.  
  19. $html = '<p>' . esc_html( $intro_text ) . '</p>'; 
  20.  
  21. $this->set_property( 'html', $html ); 
.