Make WordPress Core


Ignore:
Timestamp:
11/05/2020 09:42:49 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Docs: Improve documentation for WP_Query::is_archive() per the documentation standards.

Follow-up to [49504].

See #50545.

File:
1 edited

Legend:

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

    r49505 r49506  
    36083608     * Is the query for an existing archive page?
    36093609     *
    3610      * Month, Year, Category, Author, Post Type archive...
     3610     * Archive pages include category, tag, author, date, custom post type,
     3611     * and custom taxonomy based archives.
    36113612     *
    36123613     * @since 3.1.0
     3614     *
     3615     * @see WP_Query::is_category()
     3616     * @see WP_Query::is_tag()
     3617     * @see WP_Query::is_author()
     3618     * @see WP_Query::is_date()
     3619     * @see WP_Query::is_post_type_archive()
     3620     * @see WP_Query::is_tax()
    36133621     *
    36143622     * @return bool Whether the query is for an existing archive page.
Note: See TracChangeset for help on using the changeset viewer.