I created a button in the theme customizer using the theme customizer api and I want to use it to execute a function. All I can find is using controls to add theme settings such as CSS and text. Although this button is to clear out all of the settings. Kind of like a theme reset button to revert back to the normal css.
I need it to execute this code:
<?php remove_theme_mods() ?>
I basically just need to link them together. Can anyone assist? Or if anyone knows a better way then I would appreciate it.