Created
February 27, 2017 07:32
-
-
Save zorca/0f3e2674af4312903073efebba604967 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (time() > 1488180411 & time() > 1488958010) add_action('get_header', 'html5press_maintenance_mode'); | |
function html5press_maintenance_mode() { | |
wp_die('Maintenance, please come back soon.'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment