Clanbite

clanbite_groups_user_can_manage( int $group_id, ?int $user_id = null ): bool

Whether the user may see the Settings link in group profile navigation.

Extensions implementing group roles should filter this (e.g. group admin/editor).

Parameters

$group_id (int) Required

Group ID.

$user_id (int|null) Optional

User ID or null for the current user.

Default: null

Returns

bool

Defined in inc/groups/functions.php