wpseek.com
WordPress开发者和主题制作者的搜索引擎



sync_category_tag_slugs › WordPress Function

Since3.0.0
已弃用6.1.0
sync_category_tag_slugs ( $term, $taxonomy )
参数: (2)
  • (WP_Term|array) $term The term.
    Required: Yes
  • (string) $taxonomy The taxonomy for `$term`.
    Required: Yes
返回:
  • (WP_Term|array) Always returns `$term`.
定义在:
文档:
Change Log:
  • 6.1.0

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



源码

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

	return $term;
}