[wp-hackers] Bootstrap WordPress

Otto otto at ottodestruct.com
Thu Apr 12 18:53:04 UTC 2012


Include the wp-load.php file.

If you want just the basics and not all the various functions, you can
define SHORTINIT to true beforehand. But that's just the *very*
basics.

-Otto



On Thu, Apr 12, 2012 at 12:35 PM, Robert Lusby <nanogwp at gmail.com> wrote:
> Howdy,
>
> What do you guys consider as the current "best practise" way, to 'boot
> strap' WordPress for use in another application/framework.
>
> E.g., to give access to function suchs as "wp_insert_post", get_post and the
> WPDB class, but without loading the theme?
>
> Thanks,
> Robert
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers


More information about the wp-hackers mailing list