WP_Query::is_paged() WordPress Method
The WP_Query::is_paged() method is used to check if a query is paged. A paged query is one that is divided into multiple pages, with each page containing a certain number of results. This method returns a boolean value of true if the query is paged, or false if it is not.
WP_Query::is_paged() #
Is the query for a paged result and not for the first page?
Return
(bool) Whether the query is for a paged result.
Source
File: wp-includes/class-wp-query.php
public function is_paged() { return (bool) $this->is_paged; }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |