PHP 클래스 WPSEO_Taxonomy_Metabox, wordpress-seo

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

공개 메소드들

메소드 설명
__construct ( string $taxonomy, stdClass $term ) The constructor.
display ( ) Shows the Yoast SEO metabox for the term.
template_generic_tab ( ) Generic tab.
template_keyword_tab ( ) Keyword tab for enabling analysis of multiple keywords.
traffic_light_svg ( ) Return the SVG for the traffic light in the metabox.

비공개 메소드들

메소드 설명
get_buy_premium_link ( ) : string Returns a link to activate the Buy Premium tab.
get_buy_premium_section ( ) : WPSEO_Metabox_Section Returns the metabox section for the Premium section.
get_content_meta_section ( ) : WPSEO_Metabox_Section Returns the metabox section for the content analysis.
get_content_sections ( ) : WPSEO_Metabox_Section[] Returns the relevant metabox sections for the current view.
get_settings_meta_section ( ) : WPSEO_Metabox_Section Returns the metabox section for the settings.
get_social_meta_section ( ) : WPSEO_Metabox_Section Returns the metabox section for the social settings.
tax_is_public ( ) Test whether we are on a public taxonomy - no metabox actions needed if we are not Unfortunately we have to hook most everything in before the point where all taxonomies are registered and we know which taxonomy is being requested, so we need to use this check in nearly every hooked in function.

메소드 상세

__construct() 공개 메소드

The constructor.
public __construct ( string $taxonomy, stdClass $term )
$taxonomy string The taxonomy.
$term stdClass The term.

display() 공개 메소드

Shows the Yoast SEO metabox for the term.
public display ( )

template_generic_tab() 공개 메소드

Generic tab.

template_keyword_tab() 공개 메소드

Keyword tab for enabling analysis of multiple keywords.

traffic_light_svg() 공개 메소드

Return the SVG for the traffic light in the metabox.
public traffic_light_svg ( )