apply_filters( 'clanbite_group_profile_nav_show_settings', bool $show_settings, int $group_id )Filters whether the group profile navigation shows a Settings link.
Filter PHP
Parameters
$show_settings(bool)Whether to show it (defaults to the viewer's manage capability).
$group_id(int)Group ID.
Example
add_filter( 'clanbite_group_profile_nav_show_settings', function ( $show_settings, $group_id ) {
// Change $show_settings here.
return $show_settings;
}, 10, 2 );Defined in src/blocks/group-profile-nav/render.php