Created
March 5, 2017 10:56
-
-
Save websupporter/89a7523938cd44bec1de1ede063c8ada 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
<?php | |
/** | |
* Plugin Name: Deactivate WordPress | |
* Author: David Remer | |
* Description: Do use with care. Actually: Do not use! | |
**/ | |
function deactivate_wordpress() { | |
remove_action( 'all', 'deactivate_wordpress' ); | |
wp_die( 'WordPress wurde deaktiviert.' ); | |
} | |
add_action( 'all', 'deactivate_wordpress' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment