You appear to be a bot. Output may be restricted
Description
Query the field type given the field nameReturns the field type of the registered field or null
Usage
bw_query_field_type( $name );
Parameters
- $name
- ( string ) required – the field name e.g. _date
Returns
voidSource
File name: oik-fields/shortcodes/oik-related.phpLines:
1 to 11 of 11
function bw_query_field_type( $name ) { global $bw_fields; $field = bw_array_get( $bw_fields, $name, null ); if ( $field ) { $field_type = bw_array_get( $field, "#field_type", null ); } else { bw_trace2( "Invalid field name" ); $field_type = null; } return( $field_type ); }View on GitHub