WP_Query::is_paged()
Determines whether the query is for a paged result and not for the first page.
Метод класса: WP_Query{}
Хуков нет.
Возвращает
true|false
. Whether the query is for a paged result.
Использование
global $wp_query; $wp_query->is_paged();
Список изменений
С версии 3.1.0 | Введена. |
Код WP_Query::is_paged() WP Query::is paged WP 6.7.1
public function is_paged() { return (bool) $this->is_paged; }