Hi Guys,
I am creating a couple of Plugins one for style switching and the other for templating, I have created a custom table where I added a blog_id field thinking that would do for WPMU, then I read that WPMU will create a child set of tables per blog.
I cannot find any information on a global blog_id() in both WP and WPMU, and I want to build the plugins so they can be used in both environments.
At the moment I have this line to identify the new table:
$drftablename = $wpdb->prefix . "drf_plugins";
Will $wpdb->prefix know which MU blog I am in and create the table correctly, or will it write one table in the root table list?
Regards
David