How would I go about finding if a image (with a certain URL) is used stored in the Customizer data?

1 Answer 1


Theme mods are stored in the options table, one field per theme. Option name is theme_mods_themename, for instance theme_mods_twentyfifteen.

  • Great. Now then if I want to find the theme mods for a particular theme, then I can query the database for the option_name 'theme_mods_' + <theme name>.
    – AlanP
    Commented Sep 21, 2015 at 22:18
  • 2
    use this query to spot the them : SELECT * FROM wp_options WHERE option_name LIKE '%theme_mods_%'
    – sdx11
    Commented Apr 7, 2018 at 11:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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