Customizer Section
-
Does anyone know the correct syntax for checking if the options/controls in a specific Section of customizer.php are not empty? Trying to check if one of the options/theme_mods if filled out, I can’t find what I’m looking for anywhere..
I’m trying to do something like this:
<?php if (!empty($wp_customize->get_section('special_section'))) : ?> <div>Div goes here...</div> <?php endif; ?>
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
The topic ‘Customizer Section’ is closed to new replies.