sync_category_tag_slugs


sync_category_tag_slugs ( $term, $taxonomy )

Parameters:
  • (WP_Term|array) term The term.
  • (string) taxonomy The taxonomy for `$term`.
Returns:
  • (WP_Term|array) Always returns `$term`.
Defined at:
Change Log:
  • 6: .

Description

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

Related Functions

get_category_by_slug, the_category_rss, is_category, in_category, category_exists

Top Google Results

User discussions

wpseek mobile