Clanbite Social Kit

class Group_Post_Type

Registers the cp_group CPT and related meta.

class final

Full name
Kernowdev\ClanbiteSocialKit\Groups\Group_Post_Type

Constants

NameValueDescription
POST_TYPE'cp_group'Post type slug.
ROLE_ADMIN'admin'Group roles.
ROLE_EDITOR'editor'
ROLE_MEMBER'member'
ROLE_BANNED'banned'

Methods

Defined in inc/Groups/Group_Post_Type.php