/home/techb158/on-time-movers.com/wp-content/plugins/wpforms/pro/includes/fields
NameSizeModeActions
class-address.php452020644editdlrm
class-content.php55410644editdlrm
class-date-time.php473960644editdlrm
class-divider.php36290644editdlrm
class-entry-preview.php279490644editdlrm
class-file-upload.php644390644editdlrm
class-hidden.php22840644editdlrm
class-html.php57950644editdlrm
class-layout.php86360644editdlrm
class-page-break.php238500644editdlrm
class-password.php185000644editdlrm
class-payment-checkbox.php154400644editdlrm
class-payment-credit-card.php187280644editdlrm
class-payment-dropdown.php172540644editdlrm
class-payment-multiple.php141440644editdlrm
class-payment-single.php109960644editdlrm
class-payment-total.php67290644editdlrm
class-phone.php96940644editdlrm
class-rating.php149120644editdlrm
class-richtext.php410540644editdlrm
class-url.php44010644editdlrm
Edit: /home/techb158/on-time-movers.com/wp-content/plugins/wpforms/pro/includes/fields/class-divider.php (3629B)
name = esc_html__( 'Section Divider', 'wpforms' ); $this->type = 'divider'; $this->icon = 'fa-arrows-h'; $this->order = 170; $this->group = 'fancy'; $this->hooks(); } /** * Hooks. * * @since 1.7.1 */ private function hooks() { add_filter( "wpforms_pro_admin_entries_edit_is_field_displayable_{$this->type}", '__return_false' ); } /** * Field options panel inside the builder. * * @since 1.0.0 * * @param array $field */ public function field_options( $field ) { /* * Basic field options. */ // Options open markup. $args = array( 'markup' => 'open', ); $this->field_option( 'basic-options', $field, $args ); // Label. $this->field_option( 'label', $field ); // Description. $this->field_option( 'description', $field ); // Set label to disabled. $args = array( 'type' => 'hidden', 'slug' => 'label_disable', 'value' => '1', ); $this->field_element( 'text', $field, $args ); // Options close markup. $args = array( 'markup' => 'close', ); $this->field_option( 'basic-options', $field, $args ); /* * Advanced field options. */ // Options open markup. $args = array( 'markup' => 'open', ); $this->field_option( 'advanced-options', $field, $args ); // Custom CSS classes. $this->field_option( 'css', $field ); // Options close markup. $args = array( 'markup' => 'close', ); $this->field_option( 'advanced-options', $field, $args ); } /** * Field preview inside the builder. * * @since 1.0.0 * * @param array $field */ public function field_preview( $field ) { // Label. $this->field_preview_option( 'label', $field ); // Description. $this->field_preview_option( 'description', $field ); } /** * Field display on the form front-end. * * @since 1.0.0 * * @param array $field Field data and settings. * @param array $deprecated Deprecated field attributes. Use field properties. * @param array $form_data Form data and settings. */ public function field_display( $field, $deprecated, $form_data ) { // Define data. $primary = $field['properties']['inputs']['primary']; $label = $field['properties']['label']; // Primary field. if ( ! empty( $label['value'] ) ) { printf( '

%s

', wpforms_html_attributes( $primary['id'], $primary['class'], $primary['data'], $primary['attr'] ), esc_html( $field['label'] ) ); } } /** * Whether current field can be populated dynamically. * * @since 1.5.0 * * @param array $properties Field properties. * @param array $field Current field specific data. * * @return bool */ public function is_dynamic_population_allowed( $properties, $field ) { return false; } /** * Whether current field can be populated using a fallback. * * @since 1.5.0 * * @param array $properties Field properties. * @param array $field Current field specific data. * * @return bool */ public function is_fallback_population_allowed( $properties, $field ) { return false; } /** * Format field. * * @since 1.0.0 * * @param int $field_id Field ID. * @param string $field_submit Submitted field value. * @param array $form_data Form data and settings. */ public function format( $field_id, $field_submit, $form_data ) { } } new WPForms_Field_Divider();