wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



sync_category_tag_slugs › WordPress Function

Da3.0.0
Deprecato6.1.0
sync_category_tag_slugs ( $term, $taxonomy )
Parametri: (2)
  • (WP_Term|array) $term The term.
    Richiesto:
  • (string) $taxonomy The taxonomy for `$term`.
    Richiesto:
Ritorna:
  • (WP_Term|array) Always returns `$term`.
Definito a:
Codex:
ChangeLog:
  • 6.1.0

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



Sorgenti

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

	return $term;
}