You appear to be a bot. Output may be restricted
Description
Register a custom field
Usage
oikfie_register_field( $field, $data );
Parameters
- $field
- ( string ) required – the field name
- $data
- ( array ) required – the field's attributes e.g. [args] => Array ( [type] => text [title] => A text field containing the name of the summit [required] => 0 )
Returns
voidSource
File name: oik-types/oik-types.phpLines:
1 to 8 of 8
function oikfie_register_field( $field, $data ) { //bw_trace2(); $args = $data["args"]; $argsargs = bw_array_get( $args, "args", null ); // @TODO - add the args for each field //bw_trace2( $argsargs, "argsargs" ); bw_register_field( $field, $args['type'], $args['title'], $argsargs ); }View on GitHub