Taxonomies implements Registerable, Standard_Service
Register the Document Library associated taxonomies
Tags
Interfaces, Classes and Traits
- Registerable
- Standard_Service
Table of Contents
- AUTHOR_SLUG = 'doc_author'
- CATEGORY_SLUG = 'doc_categories'
- DOCUMENT_DOWNLOAD_SLUG = 'document_download'
- FILE_TYPE_SLUG = 'file_type'
- TAG_SLUG = 'doc_tags'
- $license : mixed
- $plugin : mixed
- __construct() : mixed
- Constructor.
- register() : mixed
- {@inheritdoc}
- register_document_author() : mixed
- Registers the document tag taxonomy.
- register_document_category() : mixed
- Registers the document category taxonomy.
- register_document_download_taxonomy() : mixed
- Registers the document download taxonomy (attached to media library items).
- register_document_tag() : mixed
- Registers the document tag taxonomy.
- register_file_types() : mixed
- Registers the file types taxonomy.
Constants
AUTHOR_SLUG
public
mixed
AUTHOR_SLUG
= 'doc_author'
CATEGORY_SLUG
public
mixed
CATEGORY_SLUG
= 'doc_categories'
DOCUMENT_DOWNLOAD_SLUG
public
mixed
DOCUMENT_DOWNLOAD_SLUG
= 'document_download'
FILE_TYPE_SLUG
public
mixed
FILE_TYPE_SLUG
= 'file_type'
TAG_SLUG
public
mixed
TAG_SLUG
= 'doc_tags'
Properties
$license
private
mixed
$license
$plugin
private
mixed
$plugin
Methods
__construct()
Constructor.
public
__construct(Licensed_Plugin $plugin) : mixed
Parameters
- $plugin : Licensed_Plugin
Return values
mixed —register()
{@inheritdoc}
public
register() : mixed
Return values
mixed —register_document_author()
Registers the document tag taxonomy.
public
register_document_author() : mixed
Return values
mixed —register_document_category()
Registers the document category taxonomy.
public
register_document_category() : mixed
Return values
mixed —register_document_download_taxonomy()
Registers the document download taxonomy (attached to media library items).
public
register_document_download_taxonomy() : mixed
Return values
mixed —register_document_tag()
Registers the document tag taxonomy.
public
register_document_tag() : mixed
Return values
mixed —register_file_types()
Registers the file types taxonomy.
public
register_file_types() : mixed