Skip to content
Docs
Get RestroPress

Action

rpress_fooditems_list_bottom

Updated
On this page

Fires after the last item of a category with items.

Runs once per category in the menu list templates, only when the category query has items, after the item loop ends.

Parameters#

ParameterTypeDescription
$attsarrayThe menu item shortcode attributes.

Example#

function my_fooditems_list_bottom( $atts ) {
	echo '<hr class="my-category-end" />';
}
add_action( 'rpress_fooditems_list_bottom', 'my_fooditems_list_bottom', 10, 1 );

Source#

Fired from:

  • templates/fooditem/fooditems.php (line 89)
  • templates/fooditem/fooditems.php (line 135)
  • templates/grid/fooditems.php (line 124)
  • templates/list/fooditems.php (line 116)

See also#

Was this page helpful?