Checking if a component is enabled/disabled
-
Hi,
How do I check if a comoponent is enabled/disable.
Normaly one would check
if ( get_theme_mod( 'some_component_on' ) === true )
or something similar – how do I say check if the category section is on or off in Storefront?Thanks in advance,
Zulf
- The topic ‘Checking if a component is enabled/disabled’ is closed to new replies.