Summery Summery
Adds the necessary rewrite rules for the taxonomy.
Syntax Syntax
Source Source
File: wp-includes/class-wp-taxonomy.php
$args['meta_box_sanitize_cb'] = 'taxonomy_meta_box_sanitize_cb_input'; break; } } // Default taxonomy term. if ( ! empty( $args['default_term'] ) ) { if ( ! is_array( $args['default_term'] ) ) { $args['default_term'] = array( 'name' => $args['default_term'] ); } $args['default_term'] = wp_parse_args( $args['default_term'], array( 'name' => '', 'slug' => '', 'description' => '', ) ); }
Advertisement
Changelog Changelog
Version | Description |
---|---|
4.7.0 | Introduced. |