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)
  • (WP_Term) $_term Term object.
    Wymagane: Tak
  • (string) $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 );