/home/techb158/balacoffee.com/wp-content/plugins/wpforms/pro/includes/fields
NameSizeModeActions
class-address.php479160644editdlrm
class-content.php66250644editdlrm
class-date-time.php462600644editdlrm
class-divider.php36090644editdlrm
class-entry-preview.php286470644editdlrm
class-file-upload.php646910644editdlrm
class-hidden.php22840644editdlrm
class-html.php57580644editdlrm
class-layout.php94850644editdlrm
class-page-break.php248010644editdlrm
class-password.php193620644editdlrm
class-payment-checkbox.php165680644editdlrm
class-payment-credit-card.php189740644editdlrm
class-payment-dropdown.php170830644editdlrm
class-payment-multiple.php152940644editdlrm
class-payment-single.php114330644editdlrm
class-payment-total.php67060644editdlrm
class-phone.php96400644editdlrm
class-rating.php157670644editdlrm
class-richtext.php419060644editdlrm
class-url.php43840644editdlrm
Edit: /home/techb158/balacoffee.com/wp-content/plugins/wpforms/pro/includes/fields/class-divider.php (3609B)
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 = [ '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 = [ 'type' => 'hidden', 'slug' => 'label_disable', 'value' => '1', ]; $this->field_element( 'text', $field, $args ); // Options close markup. $args = [ 'markup' => 'close', ]; $this->field_option( 'basic-options', $field, $args ); /* * Advanced field options. */ // Options open markup. $args = [ 'markup' => 'open', ]; $this->field_option( 'advanced-options', $field, $args ); // Custom CSS classes. $this->field_option( 'css', $field ); // Options close markup. $args = [ '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();