| @@ -32,8 +32,11 @@ | ||
| 32 | 32 | |
| 33 | 33 | public function tabs() { |
| 34 | 34 | |
| 35 | 35 | $is_full_screen = WPBC_User_Custom_Data_Saver::get_user_data_value( wpbc_get_current_user_id(), 'is_full_screen' ); |
| 36 | + $is_full_screen = function_exists( 'wpbc_ui__get_full_screen_mode_from_cookie' ) | |
| 37 | + ? wpbc_ui__get_full_screen_mode_from_cookie( $is_full_screen ) | |
| 38 | + : $is_full_screen; | |
| 36 | 39 | $is_full_screen = ( 'On' === $is_full_screen ); |
| 37 | 40 | |
| 38 | 41 | $tabs = array(); |
| 39 | 42 | $tabs['vm_booking_listing'] = array( |
| @@ -38,9 +41,9 @@ | ||
| 38 | 41 | $tabs = array(); |
| 39 | 42 | $tabs['vm_booking_listing'] = array( |
| 40 | 43 | 'is_show_top_path' => true, // true | false. By default value is: true. |
| 41 | 44 | 'is_show_top_navigation' => true, // true | false. By default value is: false. |
| 42 | - 'left_navigation__default_view_mode' => ( $is_full_screen ) ? 'compact' : 'min', // '' | 'min' | 'compact' | 'max' | 'none'. By default value is: ''. | |
| 45 | + 'left_navigation__default_view_mode' => '', // FixIn: 11.7.1.1.: ( $is_full_screen ) ? 'compact' : 'min', // '' | 'min' | 'compact' | 'max' | 'none'. By default value is: ''. | |
| 43 | 46 | 'page_title' => false, // Header - Title. If false, than hidden. |
| 44 | 47 | 'page_description' => false, // Header - Title Description. If false, than hidden. |
| 45 | 48 | 'title' => __( 'Bookings', 'booking' ), // Menu - Title. |
| 46 | 49 | 'hint' => __( 'Booking Listing', 'booking' ), // Menu - Mouse Over Hint. |