| 17 | * |
| 18 | * @method bool is_archive() Is the query for an existing archive page? Month, Year, Category, Author, Post Type archive... |
| 19 | * @method bool is_date() Is the query for an existing date archive? |
| 20 | * @method bool is_day() Is the query for an existing day archive? |
| 21 | * @method bool is_comment_feed() Is the query for a comments feed? |
| 22 | * @method bool is_month() Is the query for an existing month archive? |
| 23 | * @method bool is_paged() Is the query for paged result and not for the first page? |
| 24 | * @method bool is_preview() Is the query for a post or page preview? |
| 25 | * @method bool is_robots() Is the query for the robots file? |
| 26 | * @method bool is_search() Is the query for a search? |
| 27 | * @method bool is_time() Is the query for a specific time? |
| 28 | * @method bool is_trackback() Is the query for a trackback endpoint call? |
| 29 | * @method bool is_year() Is the query for an existing year archive? |
| 30 | * @method bool is_404() Is the query a 404 (returns no results)? |
| 31 | * @method bool is_embed() Is the query for an embedded post? |
3762 | | * Is the query for paged result and not for the first page? |
3763 | | * |
3764 | | * @since 3.1.0 |
3765 | | * |
3766 | | * @return bool |
3767 | | */ |
3768 | | public function is_paged() { |
3769 | | return (bool) $this->is_paged; |
3770 | | } |
3771 | | |
3772 | | /** |
3773 | | * Is the query for a post or page preview? |
3774 | | * |
3775 | | * @since 3.1.0 |
3776 | | * |
3777 | | * @return bool |
3778 | | */ |
3779 | | public function is_preview() { |
3780 | | return (bool) $this->is_preview; |
3781 | | } |
3782 | | |
3783 | | /** |
3784 | | * Is the query for the robots file? |
3785 | | * |
3786 | | * @since 3.1.0 |
3787 | | * |
3788 | | * @return bool |
3789 | | */ |
3790 | | public function is_robots() { |
3791 | | return (bool) $this->is_robots; |
3792 | | } |
3793 | | |
3794 | | /** |
3795 | | * Is the query for a search? |
3796 | | * |
3797 | | * @since 3.1.0 |
3798 | | * |
3799 | | * @return bool |
3800 | | */ |
3801 | | public function is_search() { |
3802 | | return (bool) $this->is_search; |
3803 | | } |
3804 | | |
3805 | | /** |
3877 | | * Is the query for a specific time? |
3878 | | * |
3879 | | * @since 3.1.0 |
3880 | | * |
3881 | | * @return bool |
3882 | | */ |
3883 | | public function is_time() { |
3884 | | return (bool) $this->is_time; |
3885 | | } |
3886 | | |
3887 | | /** |
3888 | | * Is the query for a trackback endpoint call? |
3889 | | * |
3890 | | * @since 3.1.0 |
3891 | | * |
3892 | | * @return bool |
3893 | | */ |
3894 | | public function is_trackback() { |
3895 | | return (bool) $this->is_trackback; |
3896 | | } |
3897 | | |
3898 | | /** |
3899 | | * Is the query for an existing year archive? |
3900 | | * |
3901 | | * @since 3.1.0 |
3902 | | * |
3903 | | * @return bool |
3904 | | */ |
3905 | | public function is_year() { |
3906 | | return (bool) $this->is_year; |
3907 | | } |
3908 | | |
3909 | | /** |
3910 | | * Is the query a 404 (returns no results)? |
3911 | | * |
3912 | | * @since 3.1.0 |
3913 | | * |
3914 | | * @return bool |
3915 | | */ |
3916 | | public function is_404() { |
3917 | | return (bool) $this->is_404; |
3918 | | } |
3919 | | |
3920 | | /** |
3921 | | * Is the query for an embedded post? |
3922 | | * |
3923 | | * @since 4.4.0 |
3924 | | * |
3925 | | * @return bool |
3926 | | */ |
3927 | | public function is_embed() { |
3928 | | return (bool) $this->is_embed; |
3929 | | } |
3930 | | |
3931 | | /** |