Make WordPress Core


Ignore:
Timestamp:
09/04/2020 08:39:47 PM (4 years ago)
Author:
johnbillion
Message:

Docs: Various docblock corrections and improvements.

See #50768

File:
1 edited

Legend:

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

    r48623 r48941  
    11541154 *
    11551155 * @param int $post_id Post ID.
    1156  * @return array|false|WP_Error Array of tag objects on success, false on failure.
     1156 * @return WP_Term[]|false|WP_Error Array of WP_Term objects on success, false if there are no terms
     1157 *                                  or the post does not exist, WP_Error on failure.
    11571158 */
    11581159function get_the_tags( $post_id = 0 ) {
     
    11661167     * @see get_the_terms()
    11671168     *
    1168      * @param WP_Term[] $terms An array of tags for the given post.
     1169     * @param WP_Term[]|false|WP_Error $terms Array of WP_Term objects on success, false if there are no terms
     1170     *                                        or the post does not exist, WP_Error on failure.
    11691171     */
    11701172    return apply_filters( 'get_the_tags', $terms );
Note: See TracChangeset for help on using the changeset viewer.