Docs: Document the `$args` parameter for `get_categories()` as a hash notation.

The only specific default for `get_categories()` is `$taxonomy` with a value of 'category', all the other arguments are documented separately in `get_terms()`.

See #32246.

Built from https://develop.svn.wordpress.org/trunk@36476


git-svn-id: http://core.svn.wordpress.org/trunk@36443 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2016-02-04 14:50:26 +00:00
parent 6bbb34818c
commit 94fdeabe27
2 changed files with 6 additions and 3 deletions

View File

@ -16,8 +16,11 @@
* @since 2.1.0
* @see get_terms() Type of arguments that can be changed.
*
* @param string|array $args Optional. Arguments to retrieve categories. See {@see get_terms()} for available arguments.
* Default empty.
* @param string|array $args {
* Optional. Arguments to retrieve categories. See {@see get_terms()} for additional options.
*
* @type string $taxonomy Taxonomy to retrieve terms for. In this case, default 'category'.
* }
* @return array List of categories.
*/
function get_categories( $args = '' ) {

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.5-alpha-36475';
$wp_version = '4.5-alpha-36476';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.