I would like to know how I can re-generate the `icl_sitepress_settings` in the wp_options table? It currently contains a lot of settings of plugins, post types, taxonomies, etc. that are no longer in use and have since been removed from WP backend as well as database.
I found that our team are already working on similar tasks to optimize icl_sitepress_settings option in wp_options table and we will release such feature or fix in the future.
However to check again and verify, I have escalated the issue to our team now.
I will send you an update here as soon as we have an update.
It's a workaround, but will only work on small sites, not on sites that have more than a few custom field settings.
Good to know that the dev team is working on a solution that "refreshes" the icl_sitepress_settings from wp_options in the database.