Skip to content
Docs
Get RestroPress

Action

rpress_fooditem_options_general_end

Updated
On this page

Fires at the end of the Pricing section of the menu item editor.

The last of three consecutive hooks at the end of the Pricing section body, after the price fields and validation message. Output extra pricing fields here.

Example#

function my_fooditem_pricing_note() {
	echo '<p class="description">Set a price before saving.</p>';
}
add_action( 'rpress_fooditem_options_general_end', 'my_fooditem_pricing_note' );

Notes#

No arguments are passed.

Source#

Fired from:

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

See also#

Was this page helpful?