Changeset 37615
- Timestamp:
- 06/01/2016 10:45:19 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/category-template.php
r37587 r37615 75 75 * 76 76 * @param int $id Optional, default to current post ID. The post ID. 77 * @return array Array of objects, one for each category assigned to the post.77 * @return array Array of WP_Term objects, one for each category assigned to the post. 78 78 */ 79 79 function get_the_category( $id = false ) { … … 1186 1186 * @param int|object $post Post ID or object. 1187 1187 * @param string $taxonomy Taxonomy name. 1188 * @return array|false|WP_Error Array of term objects on success, false if there are no terms1188 * @return array|false|WP_Error Array of WP_Term objects on success, false if there are no terms 1189 1189 * or the post does not exist, WP_Error on failure. 1190 1190 */
Note: See TracChangeset
for help on using the changeset viewer.