Make WordPress Core

Changeset 49504


Ignore:
Timestamp:
11/04/2020 05:01:28 PM (4 years ago)
Author:
helen
Message:

Improve documentation for is_archive().

Props stevenlinx.
Fixes #50545.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/query.php

    r49197 r49504  
    139139 * Determines whether the query is for an existing archive page.
    140140 *
    141  * Month, Year, Category, Author, Post Type archive...
     141 * 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.
    142142 *
    143143 * For more information on this and similar theme functions, check out
Note: See TracChangeset for help on using the changeset viewer.