• Resolved jonathandsimmons

    (@jonathandsimmons)


    I’ve worked out most my issues. Now I’m coming to the realization that it may not be possible to use $wpdb to query the options table of the MU users site? I feel like I should be able to

    that is to say instead of

    $wpdb->options

    I could use

    $wpdb->wp_34_options

    to specify site with id 34’s options table. Doesn’t seem to be working though. is this not something $wpdb can do?

Viewing 2 replies - 1 through 2 (of 2 total)
  • You could either use the function switch_to_blog or remove $wpdb-> from $wpdb->wp_34_options.

    Thread Starter jonathandsimmons

    (@jonathandsimmons)

    Thanks I those are great options. I tired switch to blog bt it was a little more work than I wanted. In the end I was able to achieve my goal with get_blog_option.

    Again Thanks for the advice Tim.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Is it possible to query a mu child sites options table?’ is closed to new replies.