Skip to content
Docs
Get RestroPress

Action

rpress_fooditem_options_general_before_pricing

Updated
On this page

Fires inside the Pricing section of the menu item editor, before the other pricing hooks.

Runs at the end of the Pricing section body, after the price fields and the validation message. It is immediately followed by rpress_fooditem_options_general_after_pricing and rpress_fooditem_options_general_end. Output extra pricing fields here.

Example#

function my_fooditem_pricing_note() {
	echo '<p class="description">Prices include tax.</p>';
}
add_action( 'rpress_fooditem_options_general_before_pricing', 'my_fooditem_pricing_note' );

Notes#

No arguments are passed.

Source#

Fired from:

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

See also#

Was this page helpful?