You appear to be a bot. Output may be restricted
Description
Register a custom "tags" taxonomy
Usage
bw_register_custom_tags( $taxonomy, $object_type, $arg );
Parameters
- $taxonomy
- ( string ) required – the taxonomy name
- $object_type
- ( array|string ) optional – post types to associate the taxonomy to
- $arg
- ( mixed ) optional –
Returns
voidSource
File name: oik/includes/bw_register.phpLines:
1 to 9 of 9
function bw_register_custom_tags( $taxonomy, $object_type=null, $arg=null ) { //bw_trace2(); $args = bw_default_taxonomy_args( $taxonomy, $arg ); $args['hierarchical'] = false; $args['show_in_rest'] = true; $args['show_in_nav_menus'] = bw_array_get( $args, 'show_in_nav_menus', false); bw_register_taxonomy( $taxonomy, $object_type, $args) ; }View on GitHub View on Trac