Clanbite Profile sub-pages and groups
apply_filters( 'clanbite_profile_subpages_nav_enabled', bool $enabled, string $context )Whether profile subpage navigation is enabled for a core context.
Filter PHP
Parameters
$enabled(bool)Default true.
$context(string)Context slug (
player,team,group).
Example
add_filter( 'clanbite_profile_subpages_nav_enabled', function ( $enabled, $context ) {
// Change $enabled here.
return $enabled;
}, 10, 2 );Defined in inc/profile-subpages.php