X7ROOT File Manager
Current Path:
/home/oakwood/public_html/wp-content/plugins/styler-for-wpforms/includes
home
/
oakwood
/
public_html
/
wp-content
/
plugins
/
styler-for-wpforms
/
includes
/
ðŸ“
..
📄
checkbox-inputs.php
(8.63 KB)
📄
class-sfwf-wpforms-styler-fetch.php
(17.01 KB)
📄
confirmation-message.php
(12.59 KB)
📄
customizer-addons.php
(7.5 KB)
📄
dropdown-fields.php
(12.19 KB)
📄
error-message.php
(3.99 KB)
📄
field-descriptions.php
(7.08 KB)
📄
field-labels.php
(6.82 KB)
📄
field-sub-labels.php
(1.96 KB)
📄
form-description.php
(7.66 KB)
📄
form-header.php
(4.25 KB)
📄
form-select.php
(1.06 KB)
📄
form-title.php
(7.61 KB)
📄
form-wrapper.php
(7.62 KB)
📄
general-settings.php
(3.33 KB)
📄
inner-shadow.php
(3.13 KB)
📄
list-field.php
(6.38 KB)
📄
outer-shadow.php
(3.14 KB)
📄
paragraph-textarea.php
(12.53 KB)
📄
placeholders.php
(1.9 KB)
📄
radio-inputs.php
(8.52 KB)
📄
section-break-description.php
(3.1 KB)
📄
section-break-title.php
(2.58 KB)
📄
submit-button.php
(15.99 KB)
📄
text-fields.php
(12.18 KB)
Editing: form-select.php
<?php /** * Control to select the form in customizer. */ $wp_customize->add_section( 'sfwf_select_form_section', array( 'title' => 'Select WPForm', 'panel' => 'sfwf_panel', ) ); $wp_customize->add_setting( 'sfwf_select_form_id', array( 'default' => '-1', 'transport' => 'postMessage', 'type' => 'option', ) ); // get all WPForms forms created by user. if ( function_exists( 'wpforms' ) || class_exists( 'WPForms' ) ) { $wpforms_hander = wpforms()->form; $forms = $wpforms_hander->get(); $select_form = array( -1 => '---Select form --' ); if ( $forms ) { foreach ( $forms as $form ) { $select_form[ $form->ID ] = $form->post_title; } } } else { $select_form['form not installed'] = 'WPForms not installed'; } $wp_customize->add_control( 'sfwf_select_form_id', array( 'type' => 'select', 'priority' => 10, // Within the section. 'section' => 'sfwf_select_form_section', // Required, core or custom. 'label' => __( 'Select WPForm' ), 'choices' => $select_form, ) );
Upload File
Create Folder