wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



sync_category_tag_slugs › WordPress Function

Desde3.0.0
Obsoleto6.1.0
sync_category_tag_slugs ( $term, $taxonomy )
Parâmetros: (2)
  • (WP_Term|array) $term The term.
    Required: Yes
  • (string) $taxonomy The taxonomy for `$term`.
    Required: Yes
Retorna:
  • (WP_Term|array) Always returns `$term`.
Definido em:
Codex:
Log de mudanças:
  • 6.1.0

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



Fonte

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

	return $term;
}