Created
January 16, 2018 15:57
-
-
Save mrfolkblues/d134b20a9ec1ec537571ccb445321f8c to your computer and use it in GitHub Desktop.
Include WordPress core functions without loading themes
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 | |
// include WP core functions | |
define( 'WP_USE_THEMES', false ); | |
require_once( 'wp-load.php' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment