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