You appear to be a bot. Output may be restricted
Description
Display the form to add a field to post relationship
Usage
oik_f2t_add_oik_f2t();
Parameters
Returns
voidSource
File name: oik-types/admin/oik-f2t.phpLines:
1 to 17 of 17
function oik_f2t_add_oik_f2t( ) { global $bw_f2t; bw_form(); stag( "table", "wide-fat" ); // bw_textfield( "f2t", 20, "Post f2t", $bw_f2t['args']['f2t'] ); // bw_textfield( "type", 20, "Type", $bw_f2t['args']['type'] ); $types = bw_list_registered_post_types(); bw_select( "type", "Type", null, array( "#options" => $types ) ); // bw_textfield( "field", 20, "Field", stripslashes( $bw_f2t['args']['field'] ), 10 ); $fields = bw_list_fields(); bw_select( "field", "Field", null, array( "#options" => $fields )) ; // bw_checkbox( "hierarchical", "Hierarchical f2t?", $bw_f2t['args']["hierarchical"] ); etag( "table" ); p( isubmit( "_oik_f2t_add_oik_f2t", "Add new field to type", null, "button-primary" ) ); etag( "form" ); }View on GitHub