I’m working on a project that requires the use of WordPress functions (mainly creating users and such) outside of the WordPress installation. After some Google searches of varying specificity, I’ve found a method that appears to work for both WordPress and WordPress Mu. I’ve reproduced it here for my own purposes, as well as yours.
WordPress.org member oranfry posted the following helpful bit of code, to be inserted in the top of the
wp-load.php, right after the
wp-settings.php replace all replace all occurrences of
=. Then include
wp-load.php in your external file, and (in my case)
wp-includes/registration.php. You can now call WordPress functions such as