RestroPress

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

rpress_is_service_enabled

This filter is applied to use is pickup/delivery time enabled, it is including one parameter.
$service-> is containing services delivery/pickup.

An example of how you can append is below:

function check_service_enabled( $service ) {
$is_enable = //check service is enable or not.
}
add_filter('rpress_is_service_enabled', 'check_service_enabled', 10, 1);

How can we help?