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().


Top ↑

Source

File: wp-includes/category.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
2.7.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.