You can change active
status of section using customize_section_active
filter
. It gives 2 parameters $active
–bool
and $section
–object
. Haven’t tried it so you can try and see if works for you.
Located in \wp-includes\class-wp-customize-section.php
, for your research.
As second option you can try altering capability for the section.
Note: I’m just giving options, and have not done any of these before. So not sure about it.