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()


Top ↑

Return Return

(int) The count of users excluding admins.


Top ↑

Source Source

File: includes/ld-reports.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.3.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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