Add inline `@see` tags to the docs for the `get_categories_taxonomy` hook.
Props tw2113. Fixes #30310. git-svn-id: https://develop.svn.wordpress.org/trunk@30370 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e4bebb4089
commit
b8c1296e28
|
@ -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