October 23, 2007, 2:23 pm
add_, delete_, update_blog_option()
Summary: These functions add, delete or update the given blog_option, respectively.
Detail: All three of these functions use the switch_to_blog() function to navigate to the selected blog and switch it’s option values. In fact, they’re all pretty good examples of how that function can be used to toggle between blogs. Apart from the fact that one deletes and the other two set a variable, there really sn’t much difference between the functions. All set their updated values to the wp-cache.
Tags: Functions, WordPress
Tags: Functions, WordPress
Related posts
- wpmu_validate_blog_signup($blog_id, $blog_title, $user = ”) (0)
- wpmu_signup_blog_notification($domain, $path, $title, $user, $user_email, $key, $meta = ”) (0)
- wpmu_create_blog($domain, $path, $title, $user_id, $meta = ”, $site_id = 1) (0)
- wpmu_checkAvailableSpace($action) (0)
- Using get_option() to Determine the Current Theme (0)
This website uses IntenseDebate comments, but they are not currently loaded because either your browser doesn't support JavaScript, or they didn't load fast enough.