learndash_students_enrolled_count( array $user_query_args = array() )
Gets the count of users in the system.
Description Description
This will automatically exclude the count of the ‘administrator’ role.
Parameters Parameters
- $user_query_args
-
(Optional) The
WP_User_Query
query arguments.Default value: array()
Return Return
(int) The count of users excluding admins.
Source Source
File: includes/ld-reports.php
Changelog Changelog
Version | Description |
---|---|
2.3.0 | Introduced. |