You appear to be a bot. Output may be restricted
Description
Implement 'bw_field_validation_text' filter for oik-fields
Usage
$$string = oik_fields_validation_text( $value, $field, $data );
Parameters
- $value
- ( string ) required – the value of the field from the $validated array
- $field
- ( string ) required – the field name
- $data
- ( array ) required – the field's registration data
Returns
$string The validated / sanitized valueSource
File name: oik-fields/includes/oik-fields-validation.phpLines:
1 to 4 of 4
function oik_fields_validation_text( $value, $field, $data ) { $value = sanitize_text_field( $value ); return( $value ); }View on GitHub