\MslsContentTypes

Supported content types

Summary

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

Properties

$request

$request : string

Request

Type

string

$types

$types : array

Types

Type

array

Methods

is_post_type()

is_post_type() : bool

Check for post_type

Returns

bool

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()

get() : array

Getter

Returns

array

get_request()

get_request() : string

Gets the request if it is an allowed content type

Returns

string