get_col( $wpdb->prepare( "SELECT option_name FROM {$wpdb->options} WHERE option_name LIKE %s OR option_name LIKE %s OR option_name LIKE %s", $wpdb->esc_like( 'selectika_catalog_manifest_' ) . '%', $wpdb->esc_like( '_transient_selectika_token_' ) . '%', $wpdb->esc_like( '_transient_timeout_selectika_token_' ) . '%' ) ); foreach ( $selectika_names as $selectika_name ) { delete_option( $selectika_name ); } // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery,WordPress.DB.DirectDatabaseQuery.NoCaching,WordPress.DB.DirectDatabaseQuery.SchemaChange -- Explicit plugin uninstall removes only the three owned private tables; no merchant tables are modified. $wpdb->query( $wpdb->prepare( 'DROP TABLE IF EXISTS %i, %i, %i', $wpdb->prefix . 'selectika_catalog', $wpdb->prefix . 'selectika_outbox', $wpdb->prefix . 'selectika_events' ) );