Docs: Remove inline @see tags from function, class, and method references in inline docs.
Known functions, classes, and methods are now auto-linked in Code Reference pages following #meta1483. Note: Hook references are still linked via inline `@see` tags due to the unlikelihood of reliably matching for known hooks based on a RegEx pattern. See #32246. Built from https://develop.svn.wordpress.org/trunk@37342 git-svn-id: http://core.svn.wordpress.org/trunk@37308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
* @see get_terms() Type of arguments that can be changed.
|
||||
*
|
||||
* @param string|array $args {
|
||||
* Optional. Arguments to retrieve categories. See {@see get_terms()} for additional options.
|
||||
* Optional. Arguments to retrieve categories. See get_terms() for additional options.
|
||||
*
|
||||
* @type string $taxonomy Taxonomy to retrieve terms for. In this case, default 'category'.
|
||||
* }
|
||||
@@ -30,12 +30,12 @@ function get_categories( $args = '' ) {
|
||||
$taxonomy = $args['taxonomy'];
|
||||
|
||||
/**
|
||||
* Filter the taxonomy used to retrieve terms when calling {@see get_categories()}.
|
||||
* Filter the taxonomy used to retrieve terms when calling get_categories().
|
||||
*
|
||||
* @since 2.7.0
|
||||
*
|
||||
* @param string $taxonomy Taxonomy to retrieve terms from.
|
||||
* @param array $args An array of arguments. See {@see get_terms()}.
|
||||
* @param array $args An array of arguments. See get_terms().
|
||||
*/
|
||||
$taxonomy = apply_filters( 'get_categories_taxonomy', $taxonomy, $args );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user