Post_Series
in package
Define post series taxonomy.
This taxonomy provides for grouping selected posts into a series.
Tags
Table of Contents
Constants
- TAXONOMY_NAME = 'psite_series'
- 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() : void
- Register the post series custom taxonomy.
- __construct() : void
- Initialise the class.
Constants
TAXONOMY_NAME
The name of the chapter taxonomy.
protected
string
TAXONOMY_NAME
= 'psite_series'
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 the post series custom taxonomy.
public
register() : void
Tags
__construct()
Initialise the class.
protected
__construct() : void