'ids', 'number' => 0, ) ) : array( get_current_blog_id() ); foreach ( $threece_sites as $threece_site ) { if ( is_multisite() ) { switch_to_blog( (int) $threece_site ); } delete_option( 'threece_settings' ); delete_option( 'threece_privacy' ); delete_option( 'threece_look' ); delete_option( 'threece_design' ); delete_option( 'threece_toolbar' ); delete_option( 'threece_installed' ); delete_transient( 'threece_thanks_count' ); delete_post_meta_by_key( 'threece_last_editor' ); if ( is_multisite() ) { restore_current_blog(); } }