AnsPress_Validation::sanitize_text_field( string $field )
Description #
Sanitize text fields
Parameters #
- $fieldstring (Required) Field name.
Source #
File: includes/class/validation.php
private function sanitize_text_field( $field ) { if ( isset( $this->fields[ $field ] ) ) { $this->fields[ $field ] = sanitize_text_field( $this->fields[ $field ] ); } }
Expand full source code Collapse full source code View on GitHub: includes/class/validation.php:83
Add your comment