learndash_reports_get_activity( array $query_args = array(), int $current_user_id )

Queries the user activity for the report.


Description Description

This function will query the new learndash_course_user_activity table for user/course Activity.


Parameters Parameters

$query_args

(Optional) The query arguments to get user activity.

Default value: array()

$current_user_id

(Optional) The user to run the query as. Defaults to the current user. Default 0.


Top ↑

Return Return

(array) Returns user activity query results.


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.