Clanbite

class Teams extends Kernowdev\Clanbite\Extensions\Skeleton

Extension skeleton.

This skeleton outlines the requirements for an extension for the Clanbite plugin. All extensions will need to extend this class.

class

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

Constants

NameValueDescription
POST_TYPE'clanbite_team'Team post type slug.
TEAM_ROLE_ADMIN'admin'
TEAM_ROLE_EDITOR'editor'
TEAM_ROLE_MEMBER'member'
TEAM_ROLE_BANNED'banned'
TEAM_PROFILE_HEADER_TEMPLATE_PART_SLUG'clanbite-team-profile-header'Slug for the virtual wp_template_part resolved from templates/teams/parts/team-profile-header.html.

Methods

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

Changelog

VersionDescription
1.3.0Updated.