WPSEO_Config_Field_Social_Profiles_Intro

Class WPSEO_Config_Field_Social_Profiles_Intro.

Defined (1)

The class is defined in the following location(s).

/admin/config-ui/fields/class-field-social-profiles-intro.php  
  1. class WPSEO_Config_Field_Social_Profiles_Intro extends WPSEO_Config_Field { 
  2.  
  3. /** 
  4. * WPSEO_Config_Field_Social_Profiles_Intro constructor. 
  5. */ 
  6. public function __construct() { 
  7. parent::__construct( 'socialProfilesIntro', 'HTML' ); 
  8.  
  9. $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' ); 
  10.  
  11. $html = '<p>' . esc_html( $intro_text ) . '</p>'; 
  12.  
  13. $this->set_property( 'html', $html );