\lloc\MslsMslsPostType

Content types: Post types (Pages, Posts, .

..)

Summary

Methods
Properties
Constants
create()
is_post_type()
is_taxonomy()
acl_request()
get()
get_request()
instance()
__construct()
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() : boolean

Check for post_type

Returns

boolean

is_taxonomy()

is_taxonomy() : boolean

Check for taxonomy

Returns

boolean

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

instance()

instance() : static

Gets or creates an instance of the called class

Returns

static

__construct()

__construct() 

Constructor