Last active
July 10, 2016 18:38
-
-
Save topdown/661d69e22441f5f6486774400a423c06 to your computer and use it in GitHub Desktop.
Load WordPress hooks, filters and APIs in a bin file for processing forms and other data
This file contains hidden or 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 | |
// Don't load theme data IE css and other features | |
define( 'WP_USE_THEMES', false ); | |
/* | |
* Loads the WordPress Environment and Template | |
* Change PATH_TO_WP to the path of the following file | |
*/ | |
require( 'PATH_TO_WP/wp-blog-header.php' ); | |
// Now do your processing |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment