I'd like to use WordPress core, above WP (so in the directory /dir/, with WP installed at /dir/wp/). My WordPress install is multisite, with directories instead of subdomains. I've tried various combinations of requiring WP core files and declaring global vars (wpdb, wp_query, etc), and haven't found something that works yet. What do I need here?
Bigger picture, in case there's a better solution: I'm trying to use core to integrate my app's registration system with WP. I'd like to create a matching WP user using wp_create_user whenever someone signs up with my non-WP app, and update using wp_update_user whenever they update on my app (and vice-versa, call back to my app from WP when someone updates in WP).
Any pointers? Thank you! :)
[ Please do not bump, it's not permitted here. ]