PHP Class Papi_Taxonomy_Type, papi

Inheritance: extends Papi_Entry_Type
Afficher le fichier Open project: wp-papi/papi

Méthodes publiques

Свойство Type Description
$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.

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
setup_actions ( ) Setup actions.
setup_meta_data ( ) Setup meta data.

Method Details

display() public méthode

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

edit_form() public méthode

Render term edit form.
public edit_form ( )

get_labels() public méthode

Get labels that should be changed when using fill_labels option.
public get_labels ( ) : array
Résultat array

setup_actions() protected méthode

Setup actions.
protected setup_actions ( )

setup_meta_data() protected méthode

Setup meta data.
protected setup_meta_data ( )

Property Details

$fill_labels public_oe property

Fill labels.
public bool $fill_labels
Résultat boolean

$labels public_oe property

Labels, the same labels that taxonomy type object uses.
public array $labels
Résultat array

$redirect_after_create public_oe property

Redirect after create.
public bool $redirect_after_create
Résultat boolean

$taxonomy public_oe property

The taxonomy.
public string $taxonomy
Résultat string

$type public_oe property

The type name.
public string $type
Résultat string