\MslsTaxonomy

Content types: Taxonomies (Tags, Categories, .

..)

Summary

Methods
Properties
Constants
__construct()
is_taxonomy()
acl_request()
get_post_type()
instance()
create()
is_post_type()
get()
get_request()
No public properties found
No constants found
No protected methods found
$post_type
$request
$types
N/A
No private methods found
No private properties found
N/A

Properties

$post_type

$post_type : string

Post type

Type

string

$request

$request : string

Request

Type

string

$types

$types : array

Types

Type

array

Methods

__construct()

__construct()

Constructor

is_taxonomy()

is_taxonomy() : bool

Check for taxonomy

Returns

bool

acl_request()

acl_request() : string

Check if the current user can manage this content type

Returns name of the content type if the user has access or an empty string if the user can not access

Returns

string

get_post_type()

get_post_type() : string

Get the requested post_type of the taxonomy

Returns

string

instance()

instance() : \MslsTaxonomy

Get or create an instance of MslsTaxonomy

Returns

\MslsTaxonomy

is_post_type()

is_post_type() : bool

Check for post_type

Returns

bool

get()

get() : array

Getter

Returns

array

get_request()

get_request() : string

Gets the request if it is an allowed content type

Returns

string