Clanbite

class Event_Post_Type

Custom post type and meta for front-end events (in-person or virtual).

class final

Full name
Kernowdev\Clanbite\Events\Event_Post_Type

Constants

NameValueDescription
POST_TYPE'clanbite_event'
SCOPE_TEAM'team'
SCOPE_GROUP'group'
SCOPE_PLAYER'player'A personal event owned by a player (not a team or group).
MODE_IN_PERSON'in_person'
MODE_VIRTUAL'virtual'
VISIBILITY_PUBLIC'public'
VISIBILITY_MEMBERS'members'
VISIBILITY_TEAM_MEMBERS'team_members'
VISIBILITY_TEAM_ADMINS'team_admins'
VISIBILITY_FRIENDS'friends'Player events only: the owner's friends can see it (the owner chooses public for anyone).
VISIBILITY_ONLY_ME'only_me'Player events only: nobody but the owner can see it.

Methods

Defined in inc/events/class-event-post-type.php

Changelog

VersionDescription
1.6.5Updated.