PHP 클래스 WPSEO_Help_Center, wordpress-seo

파일 보기 프로젝트 열기: yoast/wordpress-seo 1 사용 예제들

공개 메소드들

메소드 설명
__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.

비공개 메소드들

메소드 설명
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.

메소드 상세

__construct() 공개 메소드

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() 공개 정적인 메소드

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

output_help_center() 공개 메소드

Outputs the help center.
public output_help_center ( )