PHP Class WPDKCustomTaxonomy

Since: 1.4.0
Author: =undo= ([email protected])
Inheritance: extends WPDKObject
Datei anzeigen Open project: wpxtreme/wpdk

Public Properties

Property Type Description
$__version string Override version
$id string Custom Taxonomy ID
$object_type array | string Name of the object type for the taxonomy object.

Public Methods

Method Description
__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.

Private Methods

Method Description
initAdminHook ( ) Init useful (common) admon hook

Method Details

__construct() public method

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.
return WPDKCustomTaxonomy

_current_screen() public method

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

admin_print_styles_edit_tags_php() public method

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

Property Details

$__version public_oe property

Override version
public string $__version
return string

$id public_oe property

Custom Taxonomy ID
public string $id
return string

$object_type public_oe property

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