mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-12-03 19:41:39 +00:00
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:
@@ -24,13 +24,14 @@ function get_categories( $args = '' ) {
|
||||
$args = wp_parse_args( $args, $defaults );
|
||||
|
||||
$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
|
||||
*
|
||||
* @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 );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user