filter_profile_subpage_events_nav_visible( bool $visible, string $context, string $slug, int $object_id, array $config ): boolHide the shared events subpage tab when it does not apply (owner-only player calendar, per-team flag).
public
Class: Kernowdev\Clanbite\Events\Events
Parameters
$visible(bool) RequiredPrior visibility.
$context(string) RequiredProfile context (
player,team,group, …).$slug(string) RequiredSubpage slug.
$object_id(int) RequiredSubject id for the context.
$config(array) RequiredSubpage configuration.
Returns
bool
Defined in inc/events/class-events.php