WP_Recovery_Mode::is_active()publicWP 5.2.0

Checks whether recovery mode is active.

This will not change after recovery mode has been initialized. {@see WP_Recovery_Mode::run()}.

Метод класса: WP_Recovery_Mode{}

Хуков нет.

Возвращает

true|false. True if recovery mode is active, false otherwise.

Использование

$WP_Recovery_Mode = new WP_Recovery_Mode();
$WP_Recovery_Mode->is_active();

Список изменений

С версии 5.2.0 Введена.

Код WP_Recovery_Mode::is_active() WP 6.4.3

public function is_active() {
	return $this->is_active;
}