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

View on Trac

Changelog

Version Description
2.7.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/get_categories_taxonomy