Clanbite Profile sub-pages and groups
apply_filters( 'clanbite_groups_user_can_manage', bool $can, int $group_id, int $user_id )Filter whether the user may open group settings from the profile nav.
Filter PHP
Parameters
$can(bool)Whether the link should show. Default false.
$group_id(int)Group ID.
$user_id(int)User ID.
Example
add_filter( 'clanbite_groups_user_can_manage', function ( $can, $group_id, $user_id ) {
// Change $can here.
return $can;
}, 10, 3 );Defined in inc/groups/functions.php