LearnDash_ProPanel_Activity::get_admin_export_user_ids( string $template )
Returns every user ID that has activity rows for the template’s activity types.
Description #
Used by the admin-wide export path so the CSV covers every user the propanel display would show — including users that learndash_get_report_user_ids() cannot enumerate via WP_User_Query (deleted accounts with surviving activity rows, externally imported accounts, etc.).
Parameters #
- $template
-
(string) (Required) Propanel template slug. Expected: activity-quizzes, activity-courses.
Return #
(array<int>) Distinct user IDs that have at least one matching activity row.
Source #
File: includes/reports/includes/class-ld-propanel-activity.php
Changelog #
| Version | Description |
|---|---|
| 5.1.6 | Introduced. |