You appear to be a bot. Output may be restricted
Description
Display a field in a form for the user to enter/choose a value
Usage
bw_form_field( $field_name, $field_type, $field_title, $field_value, $args );
Parameters
- $field_name
- ( string ) required – eg. post_title or
- $field_type
- ( string ) required – eg. text, checkbox
- $field_title
- ( string ) required – e.g. "Title"
- $field_value
- ( string ) required – current value to display
- $args
- ( array ) optional – any additional arguments for the field formatter
Returns
voidSource
File name: oik/includes/bw_metadata.phpLines:
1 to 8 of 8
function bw_form_field( $field_name, $field_type, $field_title, $field_value, $args=NULL ) { $field_title = bw_l10n_field_title( $field_name, $field_title, $field_type, $field_value, $args ); $funcname = bw_form_function( "bw_form_field_", $field_type, $field_name ); bw_trace2( $funcname, "funcname", true, BW_TRACE_VERBOSE ); if ( $funcname ) { $funcname( $field_name, $field_type, $field_title, $field_value, $args ); } }View on GitHub View on Trac