You appear to be a bot. Output may be restricted
Description
Implement 'bw_field_validation_textarea' filter for oik-fields
Validate in the same way as we validate post_content using wp_kses_data()
Usage
$$string = oik_fields_validation_textarea( $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 value
Source
File name: oik-fields/includes/oik-fields-validation.php
Lines:
1 to 6 of 6
function oik_fields_validation_textarea( $value, $field, $data ) { $value = wp_kses_data( $value ); //bw_backtrace(); return( $value ); }