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



get_{$taxonomy} › Les Filtres WordPress

Depuis4.4.0
Dépréciéen/a
› apply_filters( "get_{$taxonomy}", $_term, $taxonomy )
Paramètres: (2)
  • () _term Term object.
    Requis: Oui
  • () taxonomy The taxonomy slug.
    Requis: Oui
Défini(e) dans:
Codex:

Filters a taxonomy term object.

The dynamic portion of the hook name, `$taxonomy`, refers to the slug of the term's taxonomy. Possible hook names include: - `get_category` - `get_post_tag`




Source

$_term = apply_filters( "get_{$taxonomy}", $_term, $taxonomy );