'widget_wpbc_dismiss__booking_form_only', 'dismiss_css_class' => '.wpbc_dismiss__booking_form_only', 'blured_in_versions' => array( 'free', 'ps', 'bs', 'bm' ), 'feature_link' => array( 'title' => 'feature', 'relative_url' => 'faq/shortcode-booking-form-no-calendar/' ), 'upgrade_link' => array( 'title' => 'Upgrade to Pro', 'relative_url' => 'features/#bk_news_section' ), 'versions' => 'Business Large, MultiUser versions', 'css' => 'transform: translate(0) translateY(120px);' ) ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped echo $upgrade_content_arr['content']; //-------------------------------------------------------------------------------------------------------------- // Real Content //-------------------------------------------------------------------------------------------------------------- ?>
‹ ›
__('Only form without calendar', 'booking') , 'text_css' => 'line-height: 18px;vertical-align: text-top;' // , 'hint' => array( 'title' => __('Manage bookings' ,'booking') , 'position' => 'top' ) , 'onclick' => $js . "jQuery('.wpbc_sc_container__shortcode_" . $shortcode_name . " .wpbc_sc_container__shortcode_section__general').show();" , 'font_icon' => 'menu_icon icon-1x menu_icon icon-1x wpbc-bi-card-checklist' , 'default' => true ) ); // wpbc_bs_display_tab( array( // 'title' => __('Advanced', 'booking') // // , 'hint' => array( 'title' => __('Manage bookings' ,'booking') , 'position' => 'top' ) // , 'onclick' => $js . "jQuery('.wpbc_sc_container__shortcode_" . $shortcode_name . " .wpbc_sc_container__shortcode_section__other').show();" // , 'font_icon' => 'wpbc_icn_tune' // , 'default' => false // // ) ); wpbc_bs_toolbar_tabs_html_container_end(); } // ===================================================================================================================== // Fields // ===================================================================================================================== /** * Shortcode Fields: Start Date: 2024-02-21 * * @param $id * @param $group_key * * @return void */ function wpbc_shortcode_config_fields__booking_date_bookingform( $id , $group_key ){ //////////////////////////////////////////////////////////////////// // Start Month //////////////////////////////////////////////////////////////////// ?>
'select' , 'title' => '' , 'description' => '' , 'description_tag' => 'span' , 'label' => '' , 'multiple' => false , 'group' => $group_key , 'class' => '' , 'css' => 'width:5em;' , 'only_field' => true , 'attr' => array() , 'value' => gmdate( 'Y' ) , 'options' => array_combine( range( ( gmdate('Y') - 1 ), ( gmdate('Y') + 10 ) ), range( ( gmdate('Y') - 1 ), ( gmdate('Y') + 10 ) ) ) ) ); ?> / 'select' , 'title' => '' , 'description' => '' , 'description_tag' => 'span' , 'label' => '' , 'multiple' => false , 'group' => $group_key , 'class' => '' , 'css' => 'width:4em;' , 'only_field' => true , 'attr' => array() , 'value' => gmdate('n') , 'options' => array_combine( range( 1, 12 ), range( 1, 12 ) ) ) ); ?> / 'select' , 'title' => '' , 'description' => '' , 'description_tag' => 'span' , 'label' => '' , 'multiple' => false , 'group' => $group_key , 'class' => '' , 'css' => 'width:4em;' , 'only_field' => true , 'attr' => array() , 'value' => gmdate('j') , 'options' => array_combine( range( 1, 31 ), range( 1, 31 ) ) ) ); ?>