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. |
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. |
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. |
%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. |