PHP Class WPSEO_Help_Center, wordpress-seo

Mostrar archivo Open project: yoast/wordpress-seo Class Usage Examples

Public Methods

Method Description
__construct ( String $group_name, WPSEO_Option_Tab $tab ) WPSEO_Help_Center constructor.
get_translated_texts ( ) : array Pass text variables to js for the help center JS module.
output_help_center ( ) Outputs the help center.

Private Methods

Method Description
add_contact_support_item ( ) Add the contact support help center item to the help center.
add_kb_search_item ( ) Add the knowledge base search help center item to the help center.
add_video_tutorial_item ( ) Add the video tutorial help center item to the help center.
get_video_help_center_item ( ) : mixed
is_a_help_center_item ( object $item ) : boolean Checks if the param is a help center item.

Method Details

__construct() public method

WPSEO_Help_Center constructor.
public __construct ( String $group_name, WPSEO_Option_Tab $tab )
$group_name String The name of the group of the tab the helpcenter is on.
$tab WPSEO_Option_Tab The name of the tab the helpcenter is on.

get_translated_texts() public static method

%s is replaced with %s and replaced again in the javascript with the actual variable.
public static get_translated_texts ( ) : array
return array Translated text strings for the help center.

output_help_center() public method

Outputs the help center.
public output_help_center ( )