Action
rpress_fooditem_after_title
Fires after the title block of a menu item card.
Runs in the fooditem, grid and list layout templates after the item title and description.
Example#
function my_fooditem_after_title() {
echo '<span class="my-title-extra"></span>';
}
add_action( 'rpress_fooditem_after_title', 'my_fooditem_after_title', 10, 0 );
Notes#
Not fired by the modern template pack single item template.
Source#
Fired from:
templates/fooditem/single.php(line 41)templates/grid/single.php(line 89)templates/list/single.php(line 59)
See also#
Was this page helpful?
