Skip to content
Docs
Get RestroPress

Action

rpress_fooditem_after

Updated
On this page

Fires at the end of the inner area of a menu item card.

Runs in the single item templates for all layouts, after the content columns and before the card wrapper closes.

Example#

function my_fooditem_after() {
	echo '<span class="my-card-footer"></span>';
}
add_action( 'rpress_fooditem_after', 'my_fooditem_after', 10, 0 );

Source#

Fired from:

  • templates/fooditem/single.php (line 50)
  • templates/grid/single.php (line 94)
  • templates/list/single.php (line 72)
  • templates/packs/modern/list/single.php (line 127)

See also#

Was this page helpful?