Action
rpress_reports_graph_before
Fires before the earnings graph markup on the Earnings report view.
Runs inside the output buffer of the earnings graph function, before the earnings chart dashboard markup. Output is echoed and becomes part of the page.
Example#
function my_reports_graph_before() {
echo '<p class="description">' . esc_html__( 'Figures are in store currency.', 'my-plugin' ) . '</p>';
}
add_action( 'rpress_reports_graph_before', 'my_reports_graph_before' );
Source#
Fired from:
includes/admin/reporting/graphing.php(line 292), inrpress_reports_graph()
See also#
Was this page helpful?
