PluginProbe
Booking Calendar / 11.9
Booking Calendar v11.9
11.9 11.8.4 11.8.3 11.8.2 11.8.1 11.8 11.7 11.6.1 11.6 11.5 11.4.3 11.4.2 11.4.1 11.4 11.3 11.2.1 11.2 11.1 11.0 10.15.7 10.15.6 10.1.3 10.10 10.10.1 10.10.2 All 205 releases
← All changes | includes/booking-appointment/booking-appointment__pricing.php +2 -2 11.5 → 11.9 View file →
@@ -19,9 +19,9 @@
19 19 *
20 20 * @return array<string,mixed> Filtered parameters.
21 21 */
22 22 function wpbc_booking_appointment_filter_cost_params( $params ) {
23 - if ( ! wpbc_is_11_5_features_enabled() || ! wpbc_appointment_services_is_pricing_available() || ! is_array( $params ) || ! empty( $params['service_id'] ) ) {
23 + if ( ! wpbc_appointment_services_is_pricing_available() || ! is_array( $params ) || ! empty( $params['service_id'] ) ) {
24 24 return $params;
25 25 }
26 26
27 27 // phpcs:disable WordPress.Security.NonceVerification.Missing, WordPress.Security.NonceVerification.Recommended
@@ -57,9 +57,9 @@
57 57 */
58 58 function wpbc_booking_appointment_get_cost_service( $params ) {
59 59 static $cache = array();
60 60
61 - if ( ! wpbc_is_11_5_features_enabled() || ! wpbc_appointment_services_is_pricing_available() || ! function_exists( 'wpbc_appointment_services_repository' ) ) {
61 + if ( ! wpbc_appointment_services_is_pricing_available() || ! function_exists( 'wpbc_appointment_services_repository' ) ) {
62 62 return null;
63 63 }
64 64
65 65 $booking_id = ! empty( $params['booking_id'] ) ? absint( $params['booking_id'] ) : 0;