WP_Recovery_Mode::is_active()
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 Recovery Mode::is active WP 6.6.1
public function is_active() { return $this->is_active; }