/home/altere25/infinet.finance/wp-content/plugins/weforms/includes/fields
NameSizeModeActions
class-abstract-fields.php183250644editdlrm
class-field-checkbox.php46900644editdlrm
class-field-column.php44880644editdlrm
class-field-date.php59410644editdlrm
class-field-dropdown.php46880644editdlrm
class-field-email.php54680644editdlrm
class-field-hidden.php28720644editdlrm
class-field-html.php26940644editdlrm
class-field-humanpresence.php19640644editdlrm
class-field-image.php54850644editdlrm
class-field-multidropdown.php43710644editdlrm
class-field-name.php107370644editdlrm
class-field-radio.php46280644editdlrm
class-field-recaptcha.php97500644editdlrm
class-field-sectionbreak.php33110644editdlrm
class-field-text.php60460644editdlrm
class-field-textarea.php61740644editdlrm
class-field-url.php41710644editdlrm
class-fields-pro.php9120644editdlrm
field-image-render-script.js4680644editdlrm
Edit: /home/altere25/infinet.finance/wp-content/plugins/weforms/includes/fields/class-field-hidden.php (2872B)
name = __( 'Hidden Field', 'weforms' ); $this->input_type = 'custom_hidden_field'; $this->icon = 'eye-slash'; } /** * Render the text field * * @param array $field_settings * @param int $form_id * * @return void */ public function render( $field_settings, $form_id ) { if ( isset( $field_settings['dynamic']['param_name'] ) ) { if ( isset( $_GET[ $field_settings['dynamic']['param_name'] ] ) ) { $value = sanitize_text_field( wp_unslash( $_GET[$field_settings['dynamic']['param_name']] ) ); } else { $value = $field_settings['meta_value']; } } else { $value = $field_settings['meta_value']; } ?> 'name', 'title' => __( 'Meta Key', 'weforms' ), 'type' => 'text', 'section' => 'basic', 'priority' => 10, 'help_text' => __( 'Name of the meta key this field will save to', 'weforms' ), ], [ 'name' => 'meta_value', 'title' => __( 'Meta Value', 'weforms' ), 'type' => 'text', 'section' => 'basic', 'priority' => 11, 'help_text' => __( 'Enter the meta value', 'weforms' ), ], [ 'name' => 'dynamic', 'title' => '', 'type' => 'dynamic-field', 'section' => 'advanced', 'priority' => 23, 'help_text' => __( 'Check this option to allow field to be populated dynamically using hooks/query string/shortcode', 'weforms' ), ], ]; return $settings; } /** * Get the field props * * @return array */ public function get_field_props() { $props = [ 'template' => $this->get_type(), 'name' => '', 'meta_value' => '', 'is_meta' => 'yes', 'id' => 0, 'is_new' => true, 'wpuf_cond' => null, ]; return $props; } }