Skip to content

Instantly share code, notes, and snippets.

@rhyswynne
Created Apr 21, 2014
Embed
What would you like to do?
Stop WP Maintenance Mode returning a 503: Service Unavailable Error
<?php
add_filter('wp_maintenance_mode_status_code', 'rhyswynne_return_200',10,3);
function rhyswynne_return_200() {
return 200;
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment