PHP Класс WPDKCustomTaxonomy

С версии: 1.4.0
Автор: =undo= ([email protected])
Наследование: extends WPDKObject
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$__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