user_has_any_role( int $user_id, array $slugs ): boolWhether the user has any of the given role slugs (explicit roles only).
public static
Class: Kernowdev\ClanbiteForums\Forums\Visibility
Parameters
$user_id(int) RequiredUser ID.
$slugs(list<string>) RequiredRole slugs.
Returns
bool
Defined in inc/Forums/Visibility.php