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