Detect if content is added in customizer
-
Hello everyone. Is there way to detect if there is content or not in template file when content is added via customizer?
Like this:
if not empty
echo get_theme_mod(‘content’)
if empty ”
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Detect if content is added in customizer’ is closed to new replies.