PHP 클래스 Papi_Taxonomy_Type, papi

상속: extends Papi_Entry_Type
파일 보기 프로젝트 열기: wp-papi/papi

공개 프로퍼티들

프로퍼티 타입 설명
$fill_labels boolean Fill labels.
$labels array Labels, the same labels that taxonomy type object uses.
$redirect_after_create boolean Redirect after create.
$taxonomy string The taxonomy.
$type string The type name.

공개 메소드들

메소드 설명
display ( string $taxonomy ) : boolean Should the Taxonomy Type be displayed in WordPress admin or not?
edit_form ( ) Render term edit form.
get_labels ( ) : array Get labels that should be changed when using fill_labels option.

보호된 메소드들

메소드 설명
setup_actions ( ) Setup actions.
setup_meta_data ( ) Setup meta data.

메소드 상세

display() 공개 메소드

Should the Taxonomy Type be displayed in WordPress admin or not?
public display ( string $taxonomy ) : boolean
$taxonomy string
리턴 boolean

edit_form() 공개 메소드

Render term edit form.
public edit_form ( )

get_labels() 공개 메소드

Get labels that should be changed when using fill_labels option.
public get_labels ( ) : array
리턴 array

setup_actions() 보호된 메소드

Setup actions.
protected setup_actions ( )

setup_meta_data() 보호된 메소드

Setup meta data.
protected setup_meta_data ( )

프로퍼티 상세

$fill_labels 공개적으로 프로퍼티

Fill labels.
public bool $fill_labels
리턴 boolean

$labels 공개적으로 프로퍼티

Labels, the same labels that taxonomy type object uses.
public array $labels
리턴 array

$redirect_after_create 공개적으로 프로퍼티

Redirect after create.
public bool $redirect_after_create
리턴 boolean

$taxonomy 공개적으로 프로퍼티

The taxonomy.
public string $taxonomy
리턴 string

$type 공개적으로 프로퍼티

The type name.
public string $type
리턴 string