October 23, 2007, 2:36 pm
update_blog_status( $id, $pref, $value, $refresh = 1 )
Summary: This function updates the status $pref of blog $id to value $value.
Detail: This function directly sets the status of a blog in the dB. If the $refresh value is set to 1, which it is by default, the status of the blog is refreshed in the wp-cache using the refresh_blog_details() function.
Additionally, if the blog is set to a “spam” or “ham” blog, the function calls the make_spam_blog or the make_ham_blog actions, respectively.
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.