Action
rpress_reports_page_top
Fires on the reports screen after the tab navigation and before the tab content.
Runs after the tab bar of the reports screen and before the active tab content action. It fires for every tab. Use it to print a notice or a shared header.
Example#
function my_reports_page_top() {
echo '<div class="notice notice-info inline"><p>' . esc_html__( 'Reports are cached for two minutes.', 'my-plugin' ) . '</p></div>';
}
add_action( 'rpress_reports_page_top', 'my_reports_page_top' );
Source#
Fired from:
includes/admin/reporting/reports.php(line 86), inrpress_reports_page()
See also#
rpress_reports_page_bottomrpress_reports_tab_%7B%24active_tab%7D
Was this page helpful?
