← All changes
|
includes/booking-appointment/booking-appointment__shortcode.php
+9
-1
11.6
→
11.8.4
View file →
| @@ -28,9 +28,13 @@ | ||
| 28 | 28 | * Render the [booking_appointment] Service-first booking workflow. |
| 29 | 29 | * |
| 30 | 30 | * Supported attributes include service_id, provider_id, services, providers, |
| 31 | 31 | * nummonths, startmonth, calendar_dates_start, calendar_dates_end, options, |
| 32 | - * form_type, auto_select_provider, show_progress, progress_item_1_title, | |
| 32 | + * form_type, auto_select_provider, catalog_layout, show_resource_filters, | |
| 33 | + * show_resource_image, show_resource_title, show_resource_description, | |
| 34 | + * catalog_item_width, catalog_item_max_width, catalog_grid_items_per_row, | |
| 35 | + * catalog_list_items_per_row, show_resource_hierarchy, show_availability, | |
| 36 | + * show_starting_price, show_progress, progress_item_1_title, | |
| 33 | 37 | * progress_item_1_number through progress_item_3_title/progress_item_3_number, |
| 34 | 38 | * screen_1_title, screen_1_description, screen_2_title, screen_2_description, |
| 35 | 39 | * and allow_past. Provider auto-selection is disabled unless |
| 36 | 40 | * auto_select_provider is explicitly enabled. Past bookings are available to |
| @@ -92,8 +96,12 @@ | ||
| 92 | 96 | 'error' => __( 'The Appointment form could not be loaded. Please try again.', 'booking' ), |
| 93 | 97 | 'validation_error'=> __( 'This Appointment time could not be verified. Please try again.', 'booking' ), |
| 94 | 98 | 'initialization_error' => __( 'The Appointment form could not be initialized. Please start over and try again.', 'booking' ), |
| 95 | 99 | 'duplicate_provider' => __( 'This Provider already has an open Appointment form on this page. Complete or restart that Appointment before opening another form for the same Provider.', 'booking' ), |
| 100 | + 'service_found' => __( 'Service found.', 'booking' ), | |
| 101 | + 'services_found' => __( 'Services found.', 'booking' ), | |
| 102 | + 'provider_found' => __( 'Provider found.', 'booking' ), | |
| 103 | + 'providers_found' => __( 'Providers found.', 'booking' ), | |
| 96 | 104 | ) |
| 97 | 105 | ); |
| 98 | 106 | } |
| 99 | 107 | add_action( 'wpbc_enqueue_js_files', 'wpbc_booking_appointment_enqueue_js', 72 ); |