PHP Класс Papi_Taxonomy_Type, papi

Наследование: extends Papi_Entry_Type
Показать файл Открыть проект

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

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