| @@ -258,22 +258,8 @@ | ||
| 258 | 258 | 'browser_header' => __( 'Settings', 'booking' ) . ' - ' . __( 'Booking Calendar', 'booking' ), |
| 259 | 259 | 'user_role' => get_bk_option( 'booking_user_role_settings' ), |
| 260 | 260 | ) ); |
| 261 | 261 | |
| 262 | - if ( ( wpbc_is_user_can_access_wizard_page() ) && ( ! wpbc_setup_wizard_page__is_all_steps_completed() ) ) { | |
| 263 | - | |
| 264 | - $setup_steps = new WPBC_SETUP_WIZARD_STEPS(); | |
| 265 | - | |
| 266 | - self::$instance->admin_menu['setup'] = new WPBC_Admin_Menus( 'wpbc-setup', array( | |
| 267 | - 'in_menu' => 'wpbc', | |
| 268 | - 'menu_title' => $setup_steps->get_plugin_menu_title__setup_progress(), | |
| 269 | - 'page_header' => ucwords( __( 'Setup', 'booking' ) ), | |
| 270 | - 'browser_header' => ucwords( __( 'Setup', 'booking' ) ) . ' - ' . __( 'Booking Calendar', 'booking' ), | |
| 271 | - 'user_role' => get_bk_option( 'booking_user_role_settings' ), | |
| 272 | - ) ); | |
| 273 | - } | |
| 274 | - | |
| 275 | - | |
| 276 | 262 | $simulate_user_id = wpbc_mu__is_simulated_login_as_user(); |
| 277 | 263 | if ( ! empty( $simulate_user_id ) ) { |
| 278 | 264 | |
| 279 | 265 | $custom_user = get_userdata( $simulate_user_id ); |