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