| 1 |
<?php |
| 2 |
/** |
| 3 |
* Stable Booking Calendar administration page references. |
| 4 |
* |
| 5 |
* These entries describe existing routes only. They do not register or expose |
| 6 |
* controllers that are unavailable in the active edition. |
| 7 |
* |
| 8 |
* @package Booking Calendar |
| 9 |
* @since 11.8.0 |
| 10 |
*/ |
| 11 |
|
| 12 |
if ( ! defined( 'ABSPATH' ) ) { |
| 13 |
exit; |
| 14 |
} |
| 15 |
|
| 16 |
$wpbc_booking_mode_canonical_pages = array( |
| 17 |
'wpbc__vm_booking_listing' => array( |
| 18 |
'page' => 'wpbc', |
| 19 |
'tab' => 'vm_booking_listing', |
| 20 |
'title' => 'Bookings', |
| 21 |
), |
| 22 |
'wpbc__vm_calendar' => array( |
| 23 |
'page' => 'wpbc', |
| 24 |
'tab' => 'vm_calendar', |
| 25 |
'title' => 'Timeline View', |
| 26 |
), |
| 27 |
'wpbc__add-booking' => array( |
| 28 |
'page' => 'wpbc', |
| 29 |
'tab' => 'add-booking', |
| 30 |
'title' => 'Add Booking', |
| 31 |
), |
| 32 |
'wpbc__add-appointment' => array( |
| 33 |
'page' => 'wpbc', |
| 34 |
'tab' => 'add-appointment', |
| 35 |
'title' => 'Add Appointment', |
| 36 |
'feature_id' => '11_5', |
| 37 |
), |
| 38 |
'wpbc-services__appointment_services' => array( |
| 39 |
'page' => 'wpbc-services', |
| 40 |
'tab' => 'appointment_services', |
| 41 |
'title' => 'Services', |
| 42 |
'feature_id' => '11_5', |
| 43 |
), |
| 44 |
'wpbc-availability__availability' => array( |
| 45 |
'page' => 'wpbc-availability', |
| 46 |
'tab' => 'availability', |
| 47 |
'title' => 'Block Dates', |
| 48 |
), |
| 49 |
'wpbc-availability__time_slots_availability' => array( |
| 50 |
'page' => 'wpbc-availability', |
| 51 |
'tab' => 'time_slots_availability', |
| 52 |
'title' => 'Block Times', |
| 53 |
), |
| 54 |
'wpbc-availability__general_availability' => array( |
| 55 |
'page' => 'wpbc-availability', |
| 56 |
'tab' => 'general_availability', |
| 57 |
'title' => 'Schedule & Rules', |
| 58 |
), |
| 59 |
'wpbc-availability__season_availability' => array( |
| 60 |
'page' => 'wpbc-availability', |
| 61 |
'tab' => 'season_availability', |
| 62 |
'title' => 'Seasonal Availability', |
| 63 |
'edition_id' => 'business_medium', |
| 64 |
), |
| 65 |
'wpbc-availability__filter' => array( |
| 66 |
'page' => 'wpbc-availability', |
| 67 |
'tab' => 'filter', |
| 68 |
'title' => 'Seasons', |
| 69 |
'edition_id' => 'business_medium', |
| 70 |
), |
| 71 |
'wpbc-resources__resources' => array( |
| 72 |
'page' => 'wpbc-resources', |
| 73 |
'tab' => 'resources', |
| 74 |
'title' => 'Resources', |
| 75 |
), |
| 76 |
'wpbc-resources__capacity' => array( |
| 77 |
'page' => 'wpbc-resources', |
| 78 |
'tab' => 'capacity', |
| 79 |
'title' => 'Capacity Rules', |
| 80 |
), |
| 81 |
'wpbc-resources__searchable_resources' => array( |
| 82 |
'page' => 'wpbc-resources', |
| 83 |
'tab' => 'searchable_resources', |
| 84 |
'title' => 'Searchable Resources', |
| 85 |
'edition_id' => 'business_large', |
| 86 |
), |
| 87 |
'wpbc-prices__cost' => array( |
| 88 |
'page' => 'wpbc-prices', |
| 89 |
'tab' => 'cost', |
| 90 |
'title' => 'Prices', |
| 91 |
'edition_id' => 'business_medium', |
| 92 |
), |
| 93 |
'wpbc-prices__cost_advanced' => array( |
| 94 |
'page' => 'wpbc-prices', |
| 95 |
'tab' => 'cost_advanced', |
| 96 |
'title' => 'Advanced Costs', |
| 97 |
'edition_id' => 'business_medium', |
| 98 |
), |
| 99 |
'wpbc-prices__coupons' => array( |
| 100 |
'page' => 'wpbc-prices', |
| 101 |
'tab' => 'coupons', |
| 102 |
'title' => 'Coupons', |
| 103 |
'edition_id' => 'business_large', |
| 104 |
), |
| 105 |
'wpbc-prices__filter' => array( |
| 106 |
'page' => 'wpbc-prices', |
| 107 |
'tab' => 'filter', |
| 108 |
'title' => 'Seasons', |
| 109 |
'edition_id' => 'business_medium', |
| 110 |
), |
| 111 |
'wpbc-prices__payment' => array( |
| 112 |
'page' => 'wpbc-prices', |
| 113 |
'tab' => 'payment', |
| 114 |
'title' => 'Payment Gateways', |
| 115 |
'edition_id' => 'business_small', |
| 116 |
), |
| 117 |
'wpbc-settings__general' => array( |
| 118 |
'page' => 'wpbc-settings', |
| 119 |
'tab' => 'general', |
| 120 |
'title' => 'General Settings', |
| 121 |
), |
| 122 |
'wpbc-settings__calendar_settings' => array( |
| 123 |
'page' => 'wpbc-settings', |
| 124 |
'tab' => 'calendar_settings', |
| 125 |
'title' => 'Calendar Settings', |
| 126 |
), |
| 127 |
'wpbc-settings__themes' => array( |
| 128 |
'page' => 'wpbc-settings', |
| 129 |
'tab' => 'themes', |
| 130 |
'title' => 'Calendar Appearance', |
| 131 |
), |
| 132 |
'wpbc-settings__form_messages' => array( |
| 133 |
'page' => 'wpbc-settings', |
| 134 |
'tab' => 'form_messages', |
| 135 |
'title' => 'Form Messages', |
| 136 |
), |
| 137 |
'wpbc-settings__builder_booking_form' => array( |
| 138 |
'page' => 'wpbc-settings', |
| 139 |
'tab' => 'builder_booking_form', |
| 140 |
'title' => 'Booking Forms', |
| 141 |
), |
| 142 |
'wpbc-settings__email' => array( |
| 143 |
'page' => 'wpbc-settings', |
| 144 |
'tab' => 'email', |
| 145 |
'title' => 'Emails', |
| 146 |
), |
| 147 |
'wpbc-settings__sync' => array( |
| 148 |
'page' => 'wpbc-settings', |
| 149 |
'tab' => 'sync', |
| 150 |
'title' => 'Sync', |
| 151 |
), |
| 152 |
'wpbc-settings__payment' => array( |
| 153 |
'page' => 'wpbc-settings', |
| 154 |
'tab' => 'payment', |
| 155 |
'title' => 'Payment Gateways', |
| 156 |
'edition_id' => 'business_small', |
| 157 |
), |
| 158 |
'wpbc-settings__search' => array( |
| 159 |
'page' => 'wpbc-settings', |
| 160 |
'tab' => 'search', |
| 161 |
'title' => 'Search Availability', |
| 162 |
'edition_id' => 'business_large', |
| 163 |
), |
| 164 |
'wpbc-settings__users' => array( |
| 165 |
'page' => 'wpbc-settings', |
| 166 |
'tab' => 'users', |
| 167 |
'title' => 'Users', |
| 168 |
'edition_id' => 'multiuser', |
| 169 |
), |
| 170 |
'wpbc-setup__step_01' => array( |
| 171 |
'page' => 'wpbc-setup', |
| 172 |
'title' => 'Setup Wizard', |
| 173 |
), |
| 174 |
); |
| 175 |
|
| 176 |
return $wpbc_booking_mode_canonical_pages; |
| 177 |
|