- Option
clanbite_events_settings- Class
Kernowdev\Clanbite\Extensions\Events_Admin
Scheduled events
| Field | What it does | Default |
|---|---|---|
events_enabledcheckbox | 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_enabledcheckbox | 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
| Field | What it does | Default |
|---|---|---|
subpage_playercheckbox | 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_teamcheckbox | 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_groupcheckbox | 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
| Version | Description |
|---|---|
| 1.6.5 | Introduced. |