WPSEO_Config_Field_Post_Type_Visibility

Class WPSEO_Config_Field_Post_Type_Visibility.

Defined (1)

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

/admin/config-ui/fields/class-field-post-type-visibility.php  
  1. class WPSEO_Config_Field_Post_Type_Visibility extends WPSEO_Config_Field { 
  2.  
  3. /** 
  4. * WPSEO_Config_Field_Post_Type_Visibility constructor. 
  5. */ 
  6. public function __construct() { 
  7. parent::__construct( 'postTypeVisibility', 'HTML' ); 
  8.  
  9. $copy = __( 'Please specify which of the following public post types you would like Google to see.', 'wordpress-seo' ); 
  10.  
  11. $html = '<p>' . esc_html( $copy ) . '</p><br/>'; 
  12.  
  13. $this->set_property( 'html', $html );