Clanbite Settings Since 1.6.5

Option
clanbite_events_settings
Class
Kernowdev\Clanbite\Extensions\Events_Admin

Scheduled events

FieldWhat it doesDefault
events_enabled
checkbox
Enable scheduled events
When off, player, team and group events, their REST endpoints and front-end event routes are disabled site-wide. Individual teams and groups can still turn events off when this is on.
true
player_events_enabled
checkbox
Let players create their own events
Players can add events to their own profile, choose who can see them (anyone, friends or only themselves) and invite friends. Team and group events are not affected.
Shown when events_enabled is on
true

Profile tabs

FieldWhat it doesDefault
subpage_player
checkbox
Player profile: Events tab
Show the Events tab and /players/{user}/events/. When off, that URL redirects to the profile root.
Shown when events_enabled is on
true
subpage_team
checkbox
Team profile: Events tab
Show the Events tab and /teams/{team}/events/ when teams use directory URLs. When off, those URLs are not available.
Shown when events_enabled is on
true
subpage_group
checkbox
Group profile: Events tab
Show the Events tab on group profiles. When off, the group events page is not registered.
Shown when events_enabled is on
true

Defined in inc/extensions/events/class-extension-events-admin.php

Changelog

VersionDescription
1.6.5Introduced.