mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-01-30 05:27:40 +00:00
Improve documentation for is_archive().
Props stevenlinx. Fixes #50545. git-svn-id: https://develop.svn.wordpress.org/trunk@49504 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
da97d6779a
commit
7a16c4d580
@ -138,7 +138,7 @@ function wp_reset_postdata() {
|
||||
/**
|
||||
* Determines whether the query is for an existing archive page.
|
||||
*
|
||||
* Month, Year, Category, Author, Post Type archive...
|
||||
* Archive pages include {@link https://developer.wordpress.org/reference/functions/is_category/ category}, {@link https://developer.wordpress.org/reference/functions/is_tag/ tag}, {@link https://developer.wordpress.org/reference/functions/is_author/ author}, {@link https://developer.wordpress.org/reference/functions/is_date/ date}, {@link https://developer.wordpress.org/reference/functions/is_post_type_archive/ custom post type}, and {@link https://developer.wordpress.org/reference/functions/is_tax/ custom taxonomy} based archives.
|
||||
*
|
||||
* For more information on this and similar theme functions, check out
|
||||
* the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
|
||||
|
||||
Loading…
Reference in New Issue
Block a user