Created
September 25, 2014 17:01
-
-
Save tonykwon/a3fc8ffc2a1fe537789a to your computer and use it in GitHub Desktop.
Bootstrap WordPress :)
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 | |
define('WP_ROOT', $_SERVER['DOCUMENT_ROOT']); // you can specify where the WordPress is | |
define('WP_USE_THEMES', false); | |
/* bootstrap WordPress */ | |
require_once WP_ROOT . '/' . 'wp-load.php'; | |
/* bootstrap is done :) */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment