sync_category_tag_slugs
- sync_category_tag_slugs is deprecated since version 6.1.0!
sync_category_tag_slugs ( $term, $taxonomy )
Parameters:- (WP_Term|array) term The term.
- (string) taxonomy The taxonomy for `$term`.
Returns:- (WP_Term|array) Always returns `$term`.
Defined at:Change Log: - Introduced in WordPress: 3.0.0
- Deprecated in WordPress: 6.1.0
Description
Synchronizes category and post tag slugs when global terms are enabled.