Changeset 48586 for trunk/src/wp-includes/category-template.php
- Timestamp:
- 07/23/2020 07:59:16 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/category-template.php
r48574 r48586 127 127 * @param string $separator Optional. Separator between the categories. By default, the links are placed 128 128 * in an unordered list. An empty string will result in the default behavior. 129 * @param string $parents Optional. How to display the parents.130 * @param int $post_idOptional. Post ID to retrieve categories.129 * @param string $parents Optional. How to display the parents. 130 * @param int $post_id Optional. Post ID to retrieve categories. 131 131 * @return string 132 132 */ … … 239 239 * 240 240 * @since 1.2.0 241 * @since 2.7.0 The `$post` parameter was added. 241 242 * 242 243 * @param int|string|array $category Category ID, name or slug, or array of said. 243 * @param int|object $post Optional. Post to check instead of the current post. (since 2.7.0)244 * @param int|object $post Optional. Post to check instead of the current post. 244 245 * @return bool True if the current post is in any of the given categories. 245 246 */ … … 259 260 * @param string $separator Optional. Separator between the categories. By default, the links are placed 260 261 * in an unordered list. An empty string will result in the default behavior. 261 * @param string $parents Optional. How to display the parents.262 * @param int $post_idOptional. Post ID to retrieve categories.262 * @param string $parents Optional. How to display the parents. 263 * @param int $post_id Optional. Post ID to retrieve categories. 263 264 */ 264 265 function the_category( $separator = '', $parents = '', $post_id = false ) { … … 1162 1163 * @since 2.3.0 1163 1164 * 1164 * @param string $before Optional. Before tags.1165 * @param string $sep Optional. Betweentags.1166 * @param string $after Optional. After tags.1167 * @param int $idOptional. Post ID. Defaults to the current post.1165 * @param string $before Optional. String to use before tags. 1166 * @param string $sep Optional. String to use between the tags. 1167 * @param string $after Optional. String to use after tags. 1168 * @param int $id Optional. Post ID. Defaults to the current post. 1168 1169 * @return string|false|WP_Error A list of tags on success, false if there are no terms, WP_Error on failure. 1169 1170 */ … … 1334 1335 * @since 4.8.0 1335 1336 * 1336 * @param int $term_id Term ID.1337 * @param string $taxonomy Taxonomy name.1337 * @param int $term_id Term ID. 1338 * @param string $taxonomy Taxonomy name. 1338 1339 * @param string|array $args { 1339 1340 * Array of optional arguments.
Note: See TracChangeset
for help on using the changeset viewer.