You appear to be a bot. Output may be restricted
Description
Display form to edit a custom taxonomy
Usage
oik_tax_edit_taxonomy();
Parameters
Returns
voidSource
File name: oik-types/admin/oik-taxonomies.phpLines:
1 to 19 of 19
function oik_tax_edit_taxonomy( ) { global $bw_taxonomy; bw_form(); stag( "table", "wide-fat" ); bw_tablerow( array( "Name", $bw_taxonomy['args']['taxonomy'] . ihidden( 'taxonomy', $bw_taxonomy['args']['taxonomy']) ) ); $taxonomy_types = oik_tax_query_taxonomy_types(); $type = bw_array_get( $taxonomy_types, $bw_taxonomy['args']['type'], " " ); bw_tablerow( array( "Type", $type . ihidden( 'type', $bw_taxonomy['args']['type']) ) ); BW_::bw_textfield( "label", 32, __( "Label", "oik-types" ), stripslashes( $bw_taxonomy['args']['label'] ) ); $singular_name = bw_return_singular_name( $bw_taxonomy['args'] ); BW_::bw_textfield( "singular_name", 30, __( "Singular label", "oik-types" ), stripslashes( $singular_name ) ); BW_::bw_textfield( "title", 100, __( "Title", "oik-types" ), stripslashes( $bw_taxonomy['args']['title'] ) ); bw_checkbox( "show_in_rest", __( "Show in REST", "oik-types" ), bw_array_get( $bw_taxonomy['args'], 'show_in_rest', null ) ); etag( "table" ); e( isubmit( "_oik_tax_edit_taxonomy", __( "Change taxonomy", "oik-types" ), null, "button-primary" ) ); etag( "form" ); }View on GitHub