enable_maintenance_mode

enable_maintenance_mode

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.4.3

apply_filters('enable_maintenance_mode') is found 1 times:

  • /wp-includes/load.php line 436
    	 *
    	 * @param bool $enable_checks Whether to enable maintenance mode. Default true.
    	 * @param int  $upgrading     The timestamp set in the .maintenance file.
    	 */
    	if ( ! apply_filters( 'enable_maintenance_mode', true, $upgrading ) ) {
    		return false;
    	}
    
    	return true;
    }