'ids' ) ); foreach ( $sites as $site_id ) { switch_to_blog( $site_id ); // Delete blog-specific options using WP functions delete_option( 'acknowledgify_settings' ); wp_cache_delete( 'acknowledgify_settings', 'options' ); restore_current_blog(); } }