wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



get_{$taxonomy} › Filtr WordPress Hooks

Od4.4.0
Przestarzałyn/a
› apply_filters( "get_{$taxonomy}", $_term, $taxonomy )
Parametry: (2)
  • () _term Term object.
    Wymagane: Tak
  • () taxonomy The taxonomy slug.
    Wymagane: Tak
Zdefiniowane na:
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`




Źródło

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