Browse: Home / Functions /


learndash_is_group_leader_user( int|WP_User $user )

Checks if a user has the group leader capabilities.

Description #

Replaces the is_group_leader function.

Parameters #


(int|WP_User) (Optional) The WP_User object or user ID to check. Default 0.

Return #

(boolean) Returns true if the user is group leader otherwise false.

Source #

File: includes/ld-groups.php

Changelog #

Version Description
2.3.9 Introduced.