You appear to be a bot. Output may be restricted
Description
Implement "oik_query_field_types" to return the field types supported by oik-fields
Usage
$array = oik_fields_query_field_types( $field_types );
Parameters
- $field_types
- ( array ) required – array of field types
Returns
array updated with our valuesSource
File name: oik-fields/oik-fields.phpLines:
1 to 17 of 17
function oik_fields_query_field_types( $field_types ) { $field_types['text'] = __( 'Text' ); $field_types['textarea'] = __( 'Textarea' ); $field_types['select'] = __( 'Select' ); $field_types['currency'] = __('Currency' ); $field_types['numeric'] = __( 'Numeric' ); $field_types['date'] = __( 'Date' ); $field_types['noderef'] = __( 'noderef - internal link' ); $field_types['email'] = __( 'Email address' ); $field_types['URL'] = __( 'URL - external link' ); $field_types['checkbox'] = __( 'Check box' ); $field_types['virtual'] = __( 'Virtual' ); $field_types['sctext'] = __( 'Text with shortcodes' ); $field_types['sctextarea'] = __( 'Textarea with shortcodes' ); $field_types['serialized'] = __( 'PHP serialized' ); return( $field_types ); }View on GitHub