Action
rpress_recount_tool_descriptions
Fires inside the repair tool description area to add help text for extra options.
Runs in the description container of the Repair Restaurant Stats form, after the built-in descriptions and before the reset description. Echo a span whose id matches the data-type of an option added through rpress_recount_tool_options.
Example#
function my_recount_tool_descriptions() {
echo '<span id="my-recount">' . esc_html__( 'Recalculates the totals stored by My Plugin.', 'my-plugin' ) . '</span>';
}
add_action( 'rpress_recount_tool_descriptions', 'my_recount_tool_descriptions' );
Source#
Fired from:
includes/admin/tools.php(line 390), inrpress_tools_recount_stats_display()
See also#
Was this page helpful?
