I'm once again sort of stuck with my Customizer API. I've worked quiet a lot on the Theme Customization of my Theme and my functions.php is getting a bit out of hand. Is there a way I can put all these "panels/sections/settings/controls" in an extra file and just load that file into the functions.php?
And even thoe is there a way I can load that file only if the Customizer is open?
Thanks in advance!