How to send all theme_mod customizer default values to the database upon theme installation?

I'm building a new theme with many customizer settings, which all have default values.

I need these default values to be sent to the database immediately upon theme installation, so that they appear on the front end of the website.

Is there a simple way to do this?

Topic theme-customizer get-theme-mod Wordpress

Category Web

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.