Changeset 33318
- Timestamp:
- 07/17/2015 10:57:20 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/category-template.php
r32996 r33318 66 66 * Retrieve post categories. 67 67 * 68 * This tag may be used outside The Loop by passing a post id as the parameter. 69 * 70 * Note: This function only returns results from the default "category" taxonomy. 71 * For custom taxonomies use get_the_terms(). 72 * 68 73 * @since 0.71 69 74 * 70 75 * @param int $id Optional, default to current post ID. The post ID. 71 * @return array 76 * @return array Array of objects, one for each category assigned to the post. 72 77 */ 73 78 function get_the_category( $id = false ) {
Note: See TracChangeset
for help on using the changeset viewer.