rpress_payment_meta_fooditems

Author: RestroPress 1 views

This filter is applied to use the payment food items on payment, it is including two parameters.
$fooditems -> get food items.
$ID -> is used to get id.

function get_meta_fooditems( $fooditems ){
//its return fooditems meta.
return $fooditems;
}
apply_filter( 'rpress_payment_meta_fooditems', 'get_meta_fooditems',10,2 );