enable_maintenance_mode

最后更新于:2021-11-26 09:15:04

apply_filters( ‘enable_maintenance_mode’, bool $enable_checks, int $upgrading )

Filters whether to enable maintenance mode.

参数

$enable_checks

(bool)
Whether to enable maintenance mode. Default true.

$upgrading

(int)
The timestamp set in the .maintenance file.

源文件

文件: gc-includes/load.php

View on Trac