You appear to be a bot. Output may be restricted
Description
Display form to add a custom field
Usage
oik_fie_add_oik_fie();
Parameters
Returns
voidSource
File name: oik-types/admin/oik-fields.phpLines:
1 to 15 of 15
function oik_fie_add_oik_fie( ) { global $bw_field; bw_form(); stag( "table", "wide-fat" ); bw_textfield( "field", 20, "Name", $bw_field['args']['field'] ); // bw_textfield( "type", 20, "Type", $bw_field['args']['type'] ); $field_types = apply_filters( "oik_query_field_types", array() ); // bw_trace2( $field_types, "field_types" ); bw_select( "type", "Type", null, array( "#options" => $field_types ) ); bw_textfield( "title", 100, "Title", stripslashes( $bw_field['args']['title'] ), 10 ); bw_checkbox( "required", "Required field?", $bw_field['args']["required"] ); etag( "table" ); p( isubmit( "_oik_fie_add_oik_fie", "Add new field", null, "button-primary" ) ); etag( "form" ); }View on GitHub