Changeset 24490 for trunk/wp-includes/category-template.php
- Timestamp:
- 06/21/2013 12:45:11 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/category-template.php
r24377 r24490 38 38 * @param bool $nicename Optional, default is false. Whether to use nice name for display. 39 39 * @param array $visited Optional. Already linked to categories to prevent duplicates. 40 * @return string 40 * @return string|WP_Error A list of category parents on success, WP_Error on failure. 41 41 */ 42 42 function get_category_parents( $id, $link = false, $separator = '/', $nicename = false, $visited = array() ) { … … 132 132 * 133 133 * @param int $cat_ID Category ID. 134 * @return string Category name.134 * @return string|WP_Error Category name on success, WP_Error on failure. 135 135 */ 136 136 function get_the_category_by_ID( $cat_ID ) { … … 981 981 * 982 982 * @param int $id Post ID. 983 * @return array 983 * @return array|bool Array of tag objects on success, false on failure. 984 984 */ 985 985 function get_the_tags( $id = 0 ) { … … 997 997 * @param string $after Optional. After tags. 998 998 * @param int $id Optional. Post ID. Defaults to the current post. 999 * @return string 999 * @return string|bool|WP_Error A list of tags on success, false or WP_Error on failure. 1000 1000 */ 1001 1001 function get_the_tag_list( $before = '', $sep = '', $after = '', $id = 0 ) { … … 1011 1011 * @param string $sep Optional. Separate items using this. 1012 1012 * @param string $after Optional. After list. 1013 * @return string1014 1013 */ 1015 1014 function the_tags( $before = null, $sep = ', ', $after = '' ) { … … 1055 1054 * @since 2.5.0 1056 1055 * 1057 * @param mixed$post Post ID or object.1056 * @param int|object $post Post ID or object. 1058 1057 * @param string $taxonomy Taxonomy name. 1059 * @return array|bool False on failure. Array of term objects on success.1058 * @return array|bool|WP_Error Array of term objects on success, false or WP_Error on failure. 1060 1059 */ 1061 1060 function get_the_terms( $post, $taxonomy ) { … … 1087 1086 * @param string $sep Optional. Separate items using this. 1088 1087 * @param string $after Optional. After list. 1089 * @return string 1088 * @return string|bool|WP_Error A list of terms on success, false or WP_Error on failure. 1090 1089 */ 1091 1090 function get_the_term_list( $id, $taxonomy, $before = '', $sep = '', $after = '' ) {
Note: See TracChangeset
for help on using the changeset viewer.