| @@ -106,9 +106,9 @@ | ||
| 106 | 106 | } |
| 107 | 107 | |
| 108 | 108 | |
| 109 | 109 | /** |
| 110 | - * Print a feature-gated route to the Service-first administrator workflow. | |
| 110 | + * Print the released route to the Service-first administrator workflow. | |
| 111 | 111 | * |
| 112 | 112 | * The standard Add Booking form remains the popup's primary action. This |
| 113 | 113 | * secondary route is hidden by the modal client whenever an existing booking |
| 114 | 114 | * is being edited. |
| @@ -116,11 +116,9 @@ | ||
| 116 | 116 | * @return void |
| 117 | 117 | */ |
| 118 | 118 | private static function print_add_appointment_entry() { |
| 119 | 119 | if ( |
| 120 | - ! function_exists( 'wpbc_is_11_5_features_enabled' ) | |
| 121 | - || ! wpbc_is_11_5_features_enabled() | |
| 122 | - || ! function_exists( 'wpbc_add_appointment_page_get_url' ) | |
| 120 | + ! function_exists( 'wpbc_add_appointment_page_get_url' ) | |
| 123 | 121 | || ! WPBC_Add_Booking_Component::current_user_can_add_booking() |
| 124 | 122 | ) { |
| 125 | 123 | return; |
| 126 | 124 | } |