Changeset 48941 for trunk/src/wp-includes/category-template.php
- Timestamp:
- 09/04/2020 08:39:47 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/category-template.php
r48623 r48941 1154 1154 * 1155 1155 * @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. 1157 1158 */ 1158 1159 function get_the_tags( $post_id = 0 ) { … … 1166 1167 * @see get_the_terms() 1167 1168 * 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. 1169 1171 */ 1170 1172 return apply_filters( 'get_the_tags', $terms );
Note: See TracChangeset
for help on using the changeset viewer.