learndash_is_admin_user( int|WP_User $user )

Checks if a user has the admin capabilities.


Description Description


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 admin otherwise false.


Top ↑

Source Source

File: includes/ld-groups.php


			

Top ↑

User Contributed Notes User Contributed Notes

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