LLMS_Processor_Course_Data::get_student_count_query_from_args( $args )
Modify the query arguments for calculating the total count.
Parameters Parameters
- $args
-
(Required)
Return Return
(array) Array of arguments passed to an LLMS_Student_Query for calculating the student count.
Source Source
File: includes/processors/class.llms.processor.course.data.php
protected function get_student_count_query_from_args( $args ) {
$count_args = array_merge( $args, array( 'count_only' => true ) );
return $count_args;
}
Expand full source code Collapse full source code View on GitHub