Ensure the optional parameter in `get_object_taxonomies()` is documented as such.

See #32246.


git-svn-id: https://develop.svn.wordpress.org/trunk@32452 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes 2015-05-07 05:32:29 +00:00
parent 2b62df22b3
commit 3ff997b3b6
1 changed files with 3 additions and 2 deletions

View File

@ -171,7 +171,8 @@ function get_taxonomies( $args = array(), $output = 'names', $operator = 'and' )
* @global array $wp_taxonomies The registered taxonomies.
*
* @param array|string|object $object Name of the type of taxonomy object, or an object (row from posts)
* @param string $output The type of output to return, either taxonomy 'names' or 'objects'. 'names' is the default.
* @param string $output Optional. The type of output to return in the array. Accepts either
* taxonomy 'names' or 'objects'. Default 'names'.
* @return array The names of all taxonomy of $object_type.
*/
function get_object_taxonomies( $object, $output = 'names' ) {