Skip to content
Docs
Get RestroPress

Action

rpress_tools_recount_stats_after

Updated
On this page

Fires after the Repair Restaurant Stats panel is displayed.

Runs after the panel markup on the Data Repair tab of the Tools page. Use it to add further panels below the recount tools.

Example#

function my_after_recount_stats() {
	echo '<div class="postbox"><div class="inside"><p>' . esc_html__( 'Extra data repair tool.', 'my-plugin' ) . '</p></div></div>';
}
add_action( 'rpress_tools_recount_stats_after', 'my_after_recount_stats' );

Source#

Fired from:

  • includes/admin/tools.php (line 401), in rpress_tools_recount_stats_display()

See also#

Was this page helpful?