false, // true | false. By default value is: false. 'left_navigation__default_view_mode' => 'compact', // '' | 'min' | 'compact' | 'max' | 'none'. By default value is: ''. 'page_title' => __( 'Add New Booking', 'booking' ), // Header - Title. If false, than hidden. 'page_description' => __( 'Manually add new bookings from the Admin Panel.', 'booking' ), // Header - Title Description. If false, than hidden. 'title' => __( 'Add booking', 'booking' ), // Title of TAB. 'hint' => __( 'Add booking', 'booking' ), // Hint. 'link' => '', // Can be skiped, then generated link based on Page and Tab tags. Or can be extenral link. 'position' => '', // Can be: 'left' | 'right' | ''. 'css_classes' => '', // this is CSS class(es). 'icon' => '', // Icon - link to the real PNG img. 'font_icon' => 'wpbc-bi-calendar-plus', // CSS definition of forn Icon. 'default' => true, // Is this tab activated by default or not: true || false. 'disabled' => false, // Is this tab disbaled: true || false. 'hided' => true, // Is this tab hided: true || false. 'subtabs' => array(), ); return $tabs; } public function content() { do_action( 'wpbc_hook_add_booking_page_header', 'add_booking' ); // Define Notices Section and show some static messages, if needed. if ( ! wpbc_is_mu_user_can_be_here( 'activated_user' ) ) { return false; // Check if MU user activated, otherwise show Warning message. } if ( ! wpbc_set_default_resource_to__get() ) { return false; // Define default booking resources for $_ GET and check if booking resource belong to user. } ?>
get_saved_user_calendar_options(); make_bk_action( 'wpdevbk_add_form' , $bk_type // $bk_type =1 , $saved_user_calendar_params['months_number'] // get_bk_option( 'booking_client_cal_count' ) // $cal_count = 1 , 1 // $is_echo = 1 , 'standard' // $my_booking_form = 'standard' , '' // $my_selected_dates_without_calendar = '' , false // $start_month_calendar = false , '{calendar' . $saved_user_calendar_params['options_param'] . '}' // $bk_otions=array() ); // FixIn: 6.0.1.6. ?>

$selected_calendar_months_count, 'options_param' => $option_months_num_in_row . $option_width . $option_cell_height ); } } add_action('wpbc_menu_created', array( new WPBC_Page_AddNewBooking() , '__construct') ); // Executed after creation of Menu