sync_category_tag_slugs()WP 3.0.0

Deprecated from version 6.1.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.

Synchronizes category and post tag slugs when global terms are enabled.

No Hooks.

Return

WP_Term|Array. Always returns $term.

Usage

sync_category_tag_slugs( $term, $taxonomy );
$term(WP_Term|array) (required)
The term.
$taxonomy(string) (required)
The taxonomy for $term.

Changelog

Since 3.0.0 Introduced.
Since 6.1.0 This function no longer does anything.
Deprecated since 6.1.0

sync_category_tag_slugs() code WP 6.5.4

function sync_category_tag_slugs( $term, $taxonomy ) {
	_deprecated_function( __FUNCTION__, '6.1.0' );

	return $term;
}