You appear to be a bot. Output may be restricted
Description
Validate the custom fields for the Add new formFor each field obtain the value then call bw_field_validation()
Usage
$bool = bw_validate_function_fields( $abbrev, $fields, $validated );
Parameters
- $abbrev
- ( string ) required – expected to be '_'
- $fields
- ( array ) required – array of custom fields to validate
- $validated
- ( array ) required – array of (all) validated fields
Returns
boolSource
File name: oik-fields/shortcodes/oik-new.phpLines:
1 to 8 of 8
function bw_validate_function_fields( $abbrev, $fields, &$validated ) { $valid = true; foreach ( $fields as $field ) { $valid &= bw_field_validation( $field, $validated ); } //bw_trace2(); return( $valid ); }View on GitHub