sycophant
Member
Posted 16 years ago #
Basically what the topic says. It's not in the current wpmu-functions.php and I think it should be. And it should be:
function delete_blog_option($id, $key) {
switch_to_blog($id);
delete_option($key);
restore_current_blog();
refresh_blog_details($id);
}
I think.
Not sure if there is a better way to bring this up, but this will do for now.
*scratches head* Is this to delete a blog or to improve on the delete blog option that's already there?
lunabyte
Member
Posted 16 years ago #
Yeah, I don't get it either. It's already a plugin in the mu-plugins directory.
And an included plugin at that. Was added quite a while back.
sycophant
Member
Posted 16 years ago #
No, for removing blog-level options from the database, to go along with the add_blog_option(), get_blog_option() and update_blog_option() calls.
Currently there is no centralised way to remove the options from the database.