Skip to content
Docs
Get RestroPress

Action

rpress_reports_graph_after

Updated
On this page

Fires after the earnings graph markup on the Earnings report view.

Runs at the end of the earnings graph function, after the dashboard markup is output into the buffer and before the buffer is read. Output is echoed and becomes part of the page.

Example#

function my_reports_graph_after() {
	echo '<p class="description">' . esc_html__( 'Refunds are subtracted.', 'my-plugin' ) . '</p>';
}
add_action( 'rpress_reports_graph_after', 'my_reports_graph_after' );

Source#

Fired from:

  • includes/admin/reporting/graphing.php (line 350), in rpress_reports_graph()

See also#

Was this page helpful?