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'
    
        
    
    Tags
CATEGORY_SLUG
    public
    mixed
    CATEGORY_SLUG
    = 'doc_categories'
    
        
    
    Tags
DOCUMENT_DOWNLOAD_SLUG
    public
    mixed
    DOCUMENT_DOWNLOAD_SLUG
    = 'document_download'
    
        
    
    Tags
FILE_TYPE_SLUG
    public
    mixed
    FILE_TYPE_SLUG
    = 'file_type'
    
        
    
    Tags
TAG_SLUG
    public
    mixed
    TAG_SLUG
    = 'doc_tags'
    
        
    
    Tags
Properties
$license
    private
        mixed
    $license
    
    
        
    
    Tags
$plugin
    private
        mixed
    $plugin
    
    
        
    
    Tags
Methods
__construct()
Constructor.
    public
                __construct(Licensed_Plugin $plugin) : mixed
    
        Parameters
- $plugin : Licensed_Plugin
Tags
Return values
mixed —register()
{@inheritdoc}
    public
                register() : mixed
    
    
    
    Tags
Return values
mixed —register_document_author()
Registers the document tag taxonomy.
    public
                register_document_author() : mixed
    
    
    
    Tags
Return values
mixed —register_document_category()
Registers the document category taxonomy.
    public
                register_document_category() : mixed
    
    
    
    Tags
Return values
mixed —register_document_download_taxonomy()
Registers the document download taxonomy (attached to media library items).
    public
                register_document_download_taxonomy() : mixed
    
    
    
    Tags
Return values
mixed —register_document_tag()
Registers the document tag taxonomy.
    public
                register_document_tag() : mixed
    
    
    
    Tags
Return values
mixed —register_file_types()
Registers the file types taxonomy.
    public
                register_file_types() : mixed