apply_filters( ‘get_categories_taxonomy’, string $taxonomy, array $args )

In this article

Filters the taxonomy used to retrieve terms when calling get_categories() .

Parameters

$taxonomystring
Taxonomy to retrieve terms from.
$argsarray
An array of arguments. See get_terms() .
More Arguments from get_terms( … $args )Array or string of arguments. See WP_Term_Query::__construct() for information on accepted arguments.

Source

$args['taxonomy'] = apply_filters( 'get_categories_taxonomy', $args['taxonomy'], $args );

Changelog

VersionDescription
2.7.0Introduced.

User Contributed Notes

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