Joy
(@joyously)
You are partially wrong.
The options table contains an entry for each theme you have saved options for, named like theme_mods_. If there is any Additional CSS, that entry will have a field with the ID of the custom_css post which is in the posts table as a custom_css post type.
You can use the Customizer Export/Import plugin to save the current theme’s options to a file. It will include the Additional CSS in as wp_css. You can import that to a different site or a child theme. You can also look in the code of the plugin to see how it is exported.
-
This reply was modified 4 years, 8 months ago by
Joy. Reason: forgot link
Good to know.
For various problems I have installed completely WordPress in a subdomain, I exported the most important tables which fortunately worked correctly, and copied all the files on the primary domain.
In the previous database I had errors.
It was easier this way than looking for errors, and correcting them, without knowing where they were.
Regards!