RestroPress

⌘K
  1. Home
  2. Docs
  3. RestroPress
  4. Developer Docs
  5. Functions
  6. rpress_get_price_option_name()

rpress_get_price_option_name()

This function can be used for getting the name of a specified price from a specific fooditem.

$price_name = rpress_get_price_option_name( $fooditem_id, $price_id );
// $price_name will be something like "Regular License"

How can we help?