Description
Format the "Add new" form as specified by the parametersThe format= parameter is used to specify the fields to be displayed. Each field or metadata has a single digit code. The output is written to the internal buffer used by all shortcodes.
Usage
bw_form_as_required( $format, $fields );Parameters
- $format
- ( string ) required – the form's format e.g. TC_ – for Title Content Fields
- $fields
- ( mixed ) required –
Returns
voidSource
File name: oik-fields/shortcodes/oik-new.phpLines:
1 to 7 of 7
function bw_form_as_required( $format, $fields ) { bw_trace2( null, null, true, BW_TRACE_DEBUG ); $fs = str_split( $format ); foreach ( $fs as $f ) { bw_call_form_function( $f, $fields ); } }View on GitHub
Invoked by
Calls
1 to 2 of 2
