Changeset 43827 for branches/5.0/src/wp-includes/category-template.php
- Timestamp:
- 10/26/2018 01:23:29 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.0/src/wp-includes/category-template.php
r42418 r43827 213 213 214 214 /** 215 * Check if the current post is within any of the given categories.215 * Checks if the current post is within any of the given categories. 216 216 * 217 217 * The given categories are checked against the post's categories' term_ids, names and slugs. … … 223 223 * Prior to v2.7, this function could only be used in the WordPress Loop. 224 224 * As of 2.7, the function can be used anywhere if it is provided a post ID or post object. 225 * 226 * For more information on this and similar theme functions, check out 227 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 228 * Conditional Tags} article in the Theme Developer Handbook. 225 229 * 226 230 * @since 1.2.0 … … 1368 1372 1369 1373 /** 1370 * Check if the current post has any of given tags.1374 * Checks if the current post has any of given tags. 1371 1375 * 1372 1376 * The given tags are checked against the post's tags' term_ids, names and slugs. … … 1377 1381 * Prior to v2.7, this function could only be used in the WordPress Loop. 1378 1382 * As of 2.7, the function can be used anywhere if it is provided a post ID or post object. 1383 * 1384 * For more information on this and similar theme functions, check out 1385 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 1386 * Conditional Tags} article in the Theme Developer Handbook. 1379 1387 * 1380 1388 * @since 2.6.0
Note: See TracChangeset
for help on using the changeset viewer.