| @@ -19,16 +19,8 @@ | ||
| 19 | 19 | * @since 3.0 |
| 20 | 20 | */ |
| 21 | 21 | protected $type = 'name'; |
| 22 | 22 | |
| 23 | - /** | |
| 24 | - * Could this field hold email values? | |
| 25 | - * | |
| 26 | - * @var bool | |
| 27 | - * @since 3.0 | |
| 28 | - */ | |
| 29 | - protected $holds_email_values = true; | |
| 30 | - | |
| 31 | 23 | public function __construct( $field = '', $type = '' ) { |
| 32 | 24 | parent::__construct( $field, $type ); |
| 33 | 25 | |
| 34 | 26 | $this->register_sub_fields( |
| @@ -108,10 +100,8 @@ | ||
| 108 | 100 | * |
| 109 | 101 | * @since 4.0 |
| 110 | 102 | * |
| 111 | 103 | * @param array $args Includes 'field', 'display', and 'values'. |
| 112 | - * | |
| 113 | - * @return void | |
| 114 | 104 | */ |
| 115 | 105 | public function show_primary_options( $args ) { |
| 116 | 106 | $field = (array) $args['field']; |
| 117 | 107 | include FrmAppHelper::plugin_path() . '/classes/views/frm-fields/back-end/name/primary-options.php'; |
| @@ -164,10 +154,8 @@ | ||
| 164 | 154 | } |
| 165 | 155 | |
| 166 | 156 | /** |
| 167 | 157 | * @since 4.0.04 |
| 168 | - * | |
| 169 | - * @return void | |
| 170 | 158 | */ |
| 171 | 159 | public function sanitize_value( &$value ) { |
| 172 | 160 | FrmAppHelper::sanitize_value( 'sanitize_text_field', $value ); |
| 173 | 161 | } |
| @@ -199,10 +187,8 @@ | ||
| 199 | 187 | * @type array $shortcode_atts Shortcode attributes. |
| 200 | 188 | * @type array $errors Field errors. |
| 201 | 189 | * @type bool $remove_names Remove name attribute or not. |
| 202 | 190 | * } |
| 203 | - * | |
| 204 | - * @return void | |
| 205 | 191 | */ |
| 206 | 192 | protected function process_args_for_field_output( &$args ) { |
| 207 | 193 | parent::process_args_for_field_output( $args ); |
| 208 | 194 | |