Core Function
View Source on Trac ↗ sync_category_tag_slugs()
sync_category_tag_slugs( mixed $term, mixed $taxonomy ) Synchronizes category and post tag slugs when global terms are enabled.
Parameters 2 required
| Name / Type | Description |
|---|---|
| (WP_Term | | array) $term The term. Required |
| $taxonomy string | The taxonomy for `$term`. Required |
Return Value
((WP_Term)
| array) Always returns `$term`.
Function Information
Since Version
3.0.0
Source File
wp-admin/includes/ms-deprecated.php
Advertisement