__('Add booking','booking') // Title of TAB , 'hint' => __('Add booking', 'booking') // Hint , 'page_title' => __('Add booking', 'booking') // Title of Page , 'link' => '' // Can be skiped, then generated link based on Page and Tab tags. Or can be extenral link , 'position' => '' // 'left' || 'right' || '' , 'css_classes' => '' // 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