Chapters
in package
Define pfic site chapters taxonomy.
Creates taxonomy to organise recipes into book chapters.
Tags
Table of Contents
Constants
- TAXONOMY_NAME = 'pfic_chapter'
- The name of the chapter taxonomy.
Properties
- $instances : array<string|int, object>
- The array of instances of this class and sub-classes.
Methods
- deregister() : void
- Deregister the post series custom taxonomy.
- get_instance() : object
- Creates and/or returns the instance of this class.
- get_name() : string
- Return custom taxonomy name.
- register() : mixed
- Register chapters custom taxonomy.
- __construct() : void
- Initialise the class and set its properties.
Constants
TAXONOMY_NAME
The name of the chapter taxonomy.
protected
string
TAXONOMY_NAME
= 'pfic_chapter'
Tags
Properties
$instances
The array of instances of this class and sub-classes.
protected
static array<string|int, object>
$instances
= array()
Tags
Methods
deregister()
Deregister the post series custom taxonomy.
public
deregister() : void
Tags
get_instance()
Creates and/or returns the instance of this class.
public
static get_instance() : object
Tags
Return values
object —The instance of this class.
get_name()
Return custom taxonomy name.
public
get_name() : string
Tags
Return values
stringregister()
Register chapters custom taxonomy.
public
register() : mixed
Tags
__construct()
Initialise the class and set its properties.
protected
__construct() : void