apply_filters( 'learndash_admin_report_register_actions', array $report_actions )
Filters admin report register actions.
Description #
Parameters #
- $report_actions
-
(array) An array of report actions.
Source #
File: includes/admin/class-learndash-admin-settings-data-reports.php
Examples #
Note: Extended code example below not guaranteed, you may need to consult with a developer
<?php
/**
* Example usage for learndash_admin_report_register_actions filter.
*/
add_filter(
'learndash_admin_report_register_actions',
function( $report_actions ) {
// May add any custom logic using $report_actions.
// Always return $report_actions.
return $report_actions;
}
);
Changelog #
| Version | Description |
|---|---|
| 2.3.0 | Introduced. |