Make WordPress Core


Ignore:
Timestamp:
01/17/2015 08:38:20 PM (11 years ago)
Author:
boonebgorges
Message:

Correct wp_get_object_terms() documentation.

The 'orderby' parameter accepts a number of values that have never been
properly documented.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/taxonomy.php

    r31231 r31232  
    25532553/**
    25542554 * Retrieves the terms associated with the given object(s), in the supplied taxonomies.
    2555 
     2555 *
    25562556 * @since 2.3.0
    25572557 *
     
    25622562 * @param array|string $args {
    25632563 *     Array of arguments.
    2564  *     @type string $orderby Field by which results should be sorted. Accepts 'name' or 'count'. Default 'name'.
     2564 *     @type string $orderby Field by which results should be sorted. Accepts 'name', 'count', 'slug', 'term_group',
     2565 *                           or 'term_order'. Default 'name'.
    25652566 *     @type string $order   Sort order. Accepts 'ASC' or 'DESC'. Default 'ASC'.
    25662567 *     @type string $fields  Fields to return for matched terms. Accepts 'all', 'ids', 'names', and
Note: See TracChangeset for help on using the changeset viewer.