Is there a way I can access the wp_options table of all the child sites? I want to create a multisite plugin that can be setup at the network level and will populate the child site plugins with defaults that can then be overwritten by the each individual site. I'm aware that I could read/write from wp_sitemeta this way, but in my instance, it would make sense if I could access the other "local" tables. I could probably write a custom query using the WP query function, but I was wondering if there was a better way?
Tell me more
×
WordPress Answers is a question and answer site for
WordPress developers and administrators. It's 100% free, no registration required.
|
|
|||
|
|
|
Try |
|||||||
|
|
Try Both functions are quite expensive, you may wish to implement only small parts of their functionality, like changing the prefix of http://core.trac.wordpress.org/browser/tags/3.3.1/wp-includes/ms-blogs.php |
|||
|
|