Action
rpress_report_view_actions
Fires inside the legacy report filter form, after the report type dropdown.
Runs inside the report filter form, after the report type selector and before the hidden page field and the Show button. The menu items report uses it to add its add-on group filter. Echo extra form controls here.
Example#
function my_report_view_actions() {
echo '<input type="text" name="my_filter" value="" placeholder="' . esc_attr__( 'Filter', 'my-plugin' ) . '" />';
}
add_action( 'rpress_report_view_actions', 'my_report_view_actions' );
Notes#
Part of the legacy report view selector, which is only rendered when its function is called.
Source#
Fired from:
includes/admin/reporting/reports.php(line 260), inrpress_report_views()
See also#
Was this page helpful?
