get_categories_taxonomy WordPress Filter Hook
The get_categories_taxonomy hook is used to get the taxonomy object for a given category. This hook is called when a category is registered.
apply_filters( 'get_categories_taxonomy', string $taxonomy , array $args ) #
Filters the taxonomy used to retrieve terms when calling get_categories().
Parameters
- $taxonomy
(string)Taxonomy to retrieve terms from.
- $args
(array)An array of arguments. See get_terms().
Source
File: wp-includes/category.php
Changelog
Version | Description |
---|---|
2.7.0 | Introduced. |