Skip to content
Docs
Get RestroPress

Action

rpress_after_fooditem_history

Updated
On this page

Fires after the menu item history table and its pagination are output.

Runs at the end of the menu item history template when the customer has orders. It does not run when the empty-state message is shown.

Example#

add_action( 'rpress_after_fooditem_history', 'my_after_fooditem_history' );
function my_after_fooditem_history() {
	echo '<p>' . esc_html__( 'Need help with an order? Contact us.', 'my-textdomain' ) . '</p>';
}

Source#

Fired from:

  • templates/history-fooditems.php (line 77)

See also#

Was this page helpful?