wpseek.com
A WordPress-centric search engine for devs and theme authors



sync_category_tag_slugs › WordPress Function

Since3.0.0
Deprecated6.1.0
sync_category_tag_slugs ( $term, $taxonomy )
Parameters: (2)
  • (WP_Term|array) $term The term.
    Required: Yes
  • (string) $taxonomy The taxonomy for `$term`.
    Required: Yes
Returns:
  • (WP_Term|array) Always returns `$term`.
Defined at:
Codex:
Change Log:
  • 6.1.0

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



Source

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

	return $term;
}