Warning: This function has been deprecated.
sync_category_tag_slugs( WP_Term|array $term, string $taxonomy ): WP_Term|array
Synchronizes category and post tag slugs when global terms are enabled.
Parameters
-
$term
WP_Term|array Required -
The term.
-
$taxonomy
string Required -
The taxonomy for
$term
.
Return
WP_Term|array Always returns $term
.
Source
File: wp-admin/includes/ms-deprecated.php
.
View all references
function sync_category_tag_slugs( $term, $taxonomy ) {
_deprecated_function( __FUNCTION__, '6.1.0' );
return $term;
}
Changelog
Version | Description |
---|---|
6.1.0 | This function has been deprecated. |
3.0.0 | Introduced. |