Skip to content
Docs
Get RestroPress

Action

rpress_tools_recount_forms

Updated
On this page

Fires after the repair tool form to allow extra forms to be printed.

Runs inside the Repair Restaurant Stats panel directly after the recount form is closed. Use it to print an additional form or controls for another repair tool.

Example#

function my_recount_forms() {
	echo '<p>' . esc_html__( 'More repair tools are available in My Plugin.', 'my-plugin' ) . '</p>';
}
add_action( 'rpress_tools_recount_forms', 'my_recount_forms' );

Source#

Fired from:

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

See also#

Was this page helpful?