Albums
in package
Define album taxonomy for attachments.
Creates taxonomy to organise attachments into albums.
Tags
Table of Contents
Constants
- TAXONOMY_NAME = 'pgal_album'
- The name of the album taxonomy.
Properties
- $instances : array<string|int, object>
- The array of instances of this class and sub-classes.
Methods
- deregister() : void
- Deregister the album custom taxonomy.
- get_instance() : object
- Creates and/or returns the instance of this class.
- get_name() : string
- Return custom taxonomy name.
- register() : void
- Register album taxonomy.
- __construct() : void
- Initialise the class.
Constants
TAXONOMY_NAME
The name of the album taxonomy.
protected
string
TAXONOMY_NAME
= 'pgal_album'
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 album 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 album taxonomy.
public
register() : void
Tags
__construct()
Initialise the class.
protected
__construct() : void