Clanbite

class Team_Challenges

Registers the internal challenge post type, public REST actions, and notification handlers.

class final

Full name
Kernowdev\Clanbite\Extensions\Teams\Team_Challenges

Constants

NameValueDescription
POST_TYPE'clanbite_challenge'
STATUS_PENDING'pending'
STATUS_ACCEPTED'accepted'
STATUS_DECLINED'declined'
META_CHALLENGED_TEAM_ID'cp_challenge_challenged_team_id'
META_CHALLENGER_USER_ID'cp_challenge_challenger_user_id'
META_CHALLENGER_NAME'cp_challenge_challenger_name'
META_CHALLENGER_EMAIL'cp_challenge_challenger_email'
META_MESSAGE'cp_challenge_message'
META_PROPOSED_SCHEDULED_AT'cp_challenge_proposed_scheduled_at'
META_CHALLENGER_TEAM_ID'cp_challenge_challenger_team_id'
META_REMOTE_TEAM_URL'cp_challenge_remote_team_url'
META_REMOTE_SNAPSHOT'cp_challenge_remote_snapshot'
META_STATUS'cp_challenge_status'
META_MATCH_ID'cp_challenge_match_id'
META_EVENT_ID'cp_challenge_event_id'
META_CHALLENGER_LOGO_ATTACHMENT_ID'cp_challenge_challenger_logo_attachment_id'

Methods

Defined in inc/extensions/teams/class-team-challenges.php

Changelog

VersionDescription
1.3.0Updated.