query( $wpdb->prepare( "DELETE FROM {$wpdb->options} WHERE option_name LIKE %s", $wpdb->esc_like( 'dashe_seo_nonce_' ) . '%' ) ); } if ( is_multisite() ) { // Process in bounded pages; no unbounded materialization of a whole network. $dashe_chat_offset = 0; do { $dashe_chat_sites = get_sites( array( 'fields' => 'ids', 'number' => 100, 'offset' => $dashe_chat_offset ) ); foreach ( $dashe_chat_sites as $dashe_chat_site_id ) { switch_to_blog( $dashe_chat_site_id ); delete_option( 'dashe_chat_settings' ); dashe_chat_remove_seo_settings(); restore_current_blog(); } $dashe_chat_offset += 100; } while ( 100 === count( $dashe_chat_sites ) ); } else { delete_option( 'dashe_chat_settings' ); dashe_chat_remove_seo_settings(); }