RestroPress

⌘K
  1. Home
  2. Docs
  3. RestroPress
  4. Developer Docs
  5. Filters
  6. rpress_payment_meta_fooditems

rpress_payment_meta_fooditems

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 );

How can we help?