Action
rpress_fooditem_after_thumbnail
Fires after the image of a menu item card.
Runs in the single item templates for all layouts directly after the item image.
Example#
function my_fooditem_after_thumbnail() {
echo '<span class="my-image-badge"></span>';
}
add_action( 'rpress_fooditem_after_thumbnail', 'my_fooditem_after_thumbnail', 10, 0 );
Source#
Fired from:
templates/fooditem/single.php(line 39)templates/grid/single.php(line 82)templates/list/single.php(line 66)templates/packs/modern/list/single.php(line 117)
See also#
Was this page helpful?
