Skip to content
Docs
Get RestroPress

Action

rpress_fooditem_options_general_after_pricing

Updated
On this page

Fires inside the Pricing section of the menu item editor, after the before-pricing hook.

Runs at the end of the Pricing section body, directly after rpress_fooditem_options_general_before_pricing and before rpress_fooditem_options_general_end. Output extra pricing fields here.

Example#

function my_fooditem_pricing_note() {
	echo '<p class="description">Prices exclude packaging fees.</p>';
}
add_action( 'rpress_fooditem_options_general_after_pricing', 'my_fooditem_pricing_note' );

Notes#

No arguments are passed. All three pricing hooks fire back to back at the same position, so ordering relative to each other is the only difference.

Source#

Fired from:

  • includes/admin/fooditems/views/html-fooditem-data-general.php (line 246)

See also#

Was this page helpful?