PHP 클래스 WPDKCustomTaxonomy

부터: 1.4.0
저자: =undo= ([email protected])
상속: extends WPDKObject
파일 보기 프로젝트 열기: wpxtreme/wpdk

공개 프로퍼티들

프로퍼티 타입 설명
$__version string Override version
$id string Custom Taxonomy ID
$object_type array | string Name of the object type for the taxonomy object.

공개 메소드들

메소드 설명
__construct ( string $id, array | string $object_type, array | string $args ) : WPDKCustomTaxonomy Create an instance of WPDKCustomTaxonomy class
_current_screen ( WP_Screen $screen ) Fire when current screen is set
admin_print_styles_edit_tags_php ( ) Fires when styles are printed for a specific admin page based on $hook_suffix.

비공개 메소드들

메소드 설명
initAdminHook ( ) Init useful (common) admon hook

메소드 상세

__construct() 공개 메소드

Create an instance of WPDKCustomTaxonomy class
public __construct ( string $id, array | string $object_type, array | string $args ) : WPDKCustomTaxonomy
$id string taxonomy ID
$object_type array | string Name of the object type for the taxonomy object.
$args array | string See optional args in `register_taxonomy()` function.
리턴 WPDKCustomTaxonomy

_current_screen() 공개 메소드

Fire when current screen is set
public _current_screen ( WP_Screen $screen )
$screen WP_Screen

admin_print_styles_edit_tags_php() 공개 메소드

Fires when styles are printed for a specific admin page based on $hook_suffix.

프로퍼티 상세

$__version 공개적으로 프로퍼티

Override version
public string $__version
리턴 string

$id 공개적으로 프로퍼티

Custom Taxonomy ID
public string $id
리턴 string

$object_type 공개적으로 프로퍼티

Name of the object type for the taxonomy object.
public array|string $object_type
리턴 array | string