0

I am using the following lines to check if the theme setting already exist or set but it's not working:

if (get_theme_mod('mysetting')==FALSE) {

Aside from get_theme_mod, how to really check if the theme setting is already set? Thanks.

1 Answer 1

0

Maybe get_option will do the trick

http://codex.wordpress.org/Function_Reference/get_option

1
  • Would you please expand upon this answer? Perhaps provide an example of how get_option might work.
    – s_ha_dum
    Feb 11, 2013 at 14:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.