WP Function to retrieve database connection

Posted by HollerTrain on Stack Overflow See other posts from Stack Overflow or by HollerTrain
Published on 2010-04-14T22:41:51Z Indexed on 2010/04/14 22:43 UTC
Read the original article Hit count: 93

Filed under:

Is there a function or command that pulls the db connection info from the WP blog? I am writing a Plugin which would have to connect to the db to retrieve the info, wondering if there was one single command/function i could call which could connect. this would make the plugin portable and would work on any WP blog. is this possible?

© Stack Overflow or respective owner

Related posts about Wordpress