rpress_food_type_icon

Author: RestroPress 1 views

This filter is applied to use get food type icon from id, it is including two parameters.
$food_type -> is containing food type.
$icon_url -> is containing the URL path of the image icon.

An example of how you can append is below:

function add_food_type_icon( $food_type ) {
$icon_url = //url path of image icon
}
add_filter('rpress_food_type_icon', 'add_food_type_icon', 10, 2);