'input', 'input_type' => 'text', 'input_attrs' => array( 'placeholder' => __( 'e.g. standard', 'booking' ), 'autocomplete' => 'off', 'spellcheck' => 'false', ), 'key' => 'bfb_form_details__form_name', 'scope' => 'ui', 'default' => '', 'label' => __( 'Slug / Key', 'booking' ), 'help' => __( 'Form key used in shortcodes.', 'booking' ), 'attr' => array( 'data-wpbc-bfb-form-details' => 'form_name', ), ) ); // Title. WPBC_BFB_Setting_Options::print_option( array( 'type' => 'input', 'input_type' => 'text', 'input_attrs' => array( 'placeholder' => __( 'Displayed name for this form', 'booking' ), ), 'key' => 'bfb_form_details__title', 'scope' => 'ui', 'default' => '', 'label' => __( 'Title', 'booking' ), 'help' => __( 'Shown in admin UI.', 'booking' ), 'attr' => array( 'data-wpbc-bfb-form-details' => 'title', ), ) ); $picture_field_id = 'wpbc_bfb_setting__bfb_form_details__picture_url'; ?>
'input', 'input_type' => 'text', 'input_attrs' => array( 'placeholder' => __( 'Select image…', 'booking' ), 'readonly' => 'readonly', ), 'key' => 'bfb_form_details__picture_url', 'scope' => 'ui', 'default' => '', 'label' => '', 'help' => __( 'Used as a thumbnail.', 'booking' ), 'attr' => array( 'data-wpbc-bfb-form-details' => 'picture_url', ), ) ); // Description. WPBC_BFB_Setting_Options::print_option( array( 'type' => 'textarea', 'input_attrs' => array( 'placeholder' => __( 'Short description (optional)', 'booking' ), 'rows' => 3, ), 'key' => 'bfb_form_details__description', 'scope' => 'ui', 'default' => '', 'label' => __( 'Description', 'booking' ), 'help' => __( 'Optional admin note.', 'booking' ), 'attr' => array( 'data-wpbc-bfb-form-details' => 'description', ), ) ); ?>