wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



sync_category_tag_slugs › WordPress Function

Depuis3.0.0
Dépréciée6.1.0
› sync_category_tag_slugs ( $term, $taxonomy )
Paramètres: (2)
  • (WP_Term|array) $term The term.
    Requis: Oui
  • (string) $taxonomy The taxonomy for `$term`.
    Requis: Oui
Retourne:
  • (WP_Term|array) Always returns `$term`.
Défini(e) dans:
Codex:
Changelog:
  • 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;
}