sync_category_tag_slugs( WP_Term|array $term, string $taxonomy ): WP_Term|array

In this article

This function has been deprecated.

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

Parameters

$termWP_Term|arrayrequired
The term.
$taxonomystringrequired
The taxonomy for $term.

Return

WP_Term|array Always returns $term.

Source

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

	return $term;
}

Changelog

VersionDescription
6.1.0This function has been deprecated.
3.0.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.