Clanbite

class Matches extends Kernowdev\Clanbite\Extensions\Skeleton

Registers the cp_match post type, REST routes, block libraries, and editor meta UI hooks.

class

Full name
Kernowdev\Clanbite\Extensions\Matches
Extends
Kernowdev\Clanbite\Extensions\Skeleton

Constants

NameValueDescription
POST_TYPE'clanbite_match'Match post type slug.
STATUS_SCHEDULED'scheduled'
STATUS_LIVE'live'
STATUS_FINISHED'finished'
STATUS_CANCELLED'cancelled'
VISIBILITY_PUBLIC'public'Visibility levels for matches (and match-backed schedule events).
VISIBILITY_MEMBERS'members'
VISIBILITY_TEAM_MEMBERS'team_members'
VISIBILITY_TEAM_ADMINS'team_admins'

Methods

Defined in inc/extensions/matches/class-extension-matches.php

Changelog

VersionDescription
1.3.0Updated.