learndash_is_group_leader_user( int|WP_User $user )

Checks if a user has the group leader capabilities.


Description Description

Replaces the is_group_leader function.


Parameters Parameters

$user

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


Top ↑

Return Return

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


Top ↑

Source Source

File: includes/ld-groups.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.3.9 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.