apply_filters( "get_{$taxonomy}", WP_Term $_term, string $taxonomy )

Filters a taxonomy term object.


Description

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

Top ↑

Parameters

$_term

(WP_Term) Term object.

$taxonomy

(string) The taxonomy slug.


Top ↑

Source

File: wp-includes/taxonomy.php

View on Trac



Top ↑

Changelog

Changelog
Version Description
4.4.0 $_term is now a WP_Term object.
2.3.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.