I want to display content from an external database (same host and account) and this thread suggests adding my tables to the WP DB so that I can use the
wpdbclass to access them. Will having custom tables in the WP DB cause issues during upgrades?
wpdbdocs say that I can instantiate my own object from the
wpdbclass if I give it the external database’s connection details. There’s no example given of doing that, and I’ve searched the forums with no luck. Where can I find the syntax for creating my own object?
Thank you for any assistance you can provide,
- The topic ‘Pros and cons of adding tables to the WP DB database?’ is closed to new replies.