Make WordPress Core


Ignore:
Timestamp:
12/10/2020 11:57:29 PM (4 years ago)
Author:
johnbillion
Message:

Docs: Various docblock improvements.

See #51800

File:
1 edited

Legend:

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

    r49789 r49790  
    21962196 *     @type string $slug        The term slug to use. Default empty string.
    21972197 * }
    2198  * @return array|WP_Error An array containing the `term_id` and `term_taxonomy_id`,
    2199  *                        WP_Error otherwise.
     2198 * @return array|WP_Error {
     2199 *     An array of the new term data, WP_Error otherwise.
     2200 *
     2201 *     @type int        $term_id          The new term ID.
     2202 *     @type int|string $term_taxonomy_id The new term taxonomy ID. Can be a numeric string.
     2203 * }
    22002204 */
    22012205function wp_insert_term( $term, $taxonomy, $args = array() ) {
     
    37433747 * @global wpdb $wpdb WordPress database abstraction object.
    37443748 *
    3745  * @param array $terms    List of term objects (passed by reference).
    3746  * @param string $taxonomy Term context.
     3749 * @param object[]|WP_Term[] $terms    List of term objects (passed by reference).
     3750 * @param string             $taxonomy Term context.
    37473751 */
    37483752function _pad_term_counts( &$terms, $taxonomy ) {
Note: See TracChangeset for help on using the changeset viewer.