__('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 ?>