Last active
December 10, 2015 12:28
-
-
Save nmec/4433881 to your computer and use it in GitHub Desktop.
Prevents generation of 'Hello World' and 'Sample Page' in WordPress, just drop this file in your wp-content folder before running the installation.
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 | |
/** | |
* Prevents generation of 'Hello World' and 'Sample Page'. | |
* @link http://wordpress.stackexchange.com/a/71867/8872 | |
*/ | |
function wp_install_defaults() { | |
return null; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment