Changeset 42710 for trunk/src/wp-includes/category-template.php
- Timestamp:
- 02/13/2018 04:53:44 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/category-template.php
r42658 r42710 222 222 223 223 /** 224 * Check if the current post is within any of the given categories.224 * Checks if the current post is within any of the given categories. 225 225 * 226 226 * The given categories are checked against the post's categories' term_ids, names and slugs. … … 232 232 * Prior to v2.7, this function could only be used in the WordPress Loop. 233 233 * As of 2.7, the function can be used anywhere if it is provided a post ID or post object. 234 * 235 * For more information on this and similar theme functions, check out 236 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 237 * Conditional Tags} article in the Theme Developer Handbook. 234 238 * 235 239 * @since 1.2.0 … … 1407 1411 1408 1412 /** 1409 * Check if the current post has any of given tags.1413 * Checks if the current post has any of given tags. 1410 1414 * 1411 1415 * The given tags are checked against the post's tags' term_ids, names and slugs. … … 1416 1420 * Prior to v2.7, this function could only be used in the WordPress Loop. 1417 1421 * As of 2.7, the function can be used anywhere if it is provided a post ID or post object. 1422 * 1423 * For more information on this and similar theme functions, check out 1424 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 1425 * Conditional Tags} article in the Theme Developer Handbook. 1418 1426 * 1419 1427 * @since 2.6.0
Note: See TracChangeset
for help on using the changeset viewer.