[wp-hackers] Overhead associated with loading wordpress in an external script
Rich Pedley
elfin at elfden.co.uk
Tue Sep 7 08:15:42 UTC 2010
On 07/09/2010 04:11, Ryan Bilesky wrote:
> I am writing a plugin that will be accepting paypal payments. I am writing
> an ipn script to handle the payment notification. Now I can just include
> wp-config.php and do what I need to do with direct db queries, but it might
> be easier if I could just load wp and use wpdb to make it easier. Is there
> any significant performance reasons I should just stick with using the
> details of wp-config to make a direct db connection and queries?
Hook into init perhaps? performance shouldn't be an issue.
Rich
More information about the wp-hackers
mailing list