Add inline `@see` tags to the docs for the `get_categories_taxonomy` hook.
Props tw2113. Fixes #30310. Built from https://develop.svn.wordpress.org/trunk@30370 git-svn-id: http://core.svn.wordpress.org/trunk@30368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6b83230aa5
commit
254ff0a4c9
|
@ -24,13 +24,14 @@ function get_categories( $args = '' ) {
|
||||||
$args = wp_parse_args( $args, $defaults );
|
$args = wp_parse_args( $args, $defaults );
|
||||||
|
|
||||||
$taxonomy = $args['taxonomy'];
|
$taxonomy = $args['taxonomy'];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filter the taxonomy used to retrieve terms when calling get_categories().
|
* Filter the taxonomy used to retrieve terms when calling {@see get_categories()}.
|
||||||
*
|
*
|
||||||
* @since 2.7.0
|
* @since 2.7.0
|
||||||
*
|
*
|
||||||
* @param string $taxonomy Taxonomy to retrieve terms from.
|
* @param string $taxonomy Taxonomy to retrieve terms from.
|
||||||
* @param array $args An array of arguments. @see get_terms()
|
* @param array $args An array of arguments. See {@see get_terms()}.
|
||||||
*/
|
*/
|
||||||
$taxonomy = apply_filters( 'get_categories_taxonomy', $taxonomy, $args );
|
$taxonomy = apply_filters( 'get_categories_taxonomy', $taxonomy, $args );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue