The MU forums have moved to

Site versus User variables (2 posts)

  1. ratbastid
    Posted 17 years ago #

    I want to have my MU-specific plugin keep some data in a table of its own. Only problem is, global $table_prefix contains the blog ID.

    On one hand that's useful, becuase I can preg_match the blog ID out of it, which I need. But I'd really like to know the globals for the current individual blog's ID, and the global table_prefix. Anybody know those?

  2. itdamager
    Posted 17 years ago #

    $blog_id or $wpdb->blogid

About this Topic

  • Started 17 years ago by ratbastid
  • Latest reply from itdamager