Description
Usage
oik_x2t_add_oik_x2t();Parameters
Returns
voidSource
File name: oik-types/admin/oik-x2t.phpLines:
1 to 12 of 12
function oik_x2t_add_oik_x2t( ) { global $bw_x2t; bw_form(); stag( "table", "wide-fat" ); $types = bw_list_registered_post_types(); bw_select( "type", "Type", null, array( "#options" => $types ) ); $taxonomies = bw_list_taxonomies(); bw_select( "taxonomy", "Taxonomy", null, array( "#options" => $taxonomies )) ; etag( "table" ); p( isubmit( "_oik_x2t_add_oik_x2t", "Add new taxonomy to type", null, "button-primary" ) ); etag( "form" ); }View on GitHub
Called by
Invoked by
Calls
1 to 8 of 8
- bw_form() – Start a form
- bw_list_registered_post_types() – Return a list of registered post_types
- bw_list_taxonomies() – Return a list of taxonomies
- bw_select() – Create a select field for a form-table
- etag() – Output an end tag
- isubmit() – Create a submit button
- p() – Output a paragraph of translatable text
- stag() – Output an HTML opening tag
