rpress_default_fooditems_name

Author: RestroPress 19 views

This filter is applied to use the restropress default food item name, it is including one parameter.
$defaults -> an array which contains default names.

An example of how you can append is below:

function rpress_default_labels( $defaults ) {
$defaults = //fooditems name.
return $defaults;
}
add_filter('rpress_default_fooditems_name', 'rpress_default_labels', 10, 1);