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


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
    Sep 21 '15 at 22:18
  • 2
    use this query to spot the them : SELECT * FROM wp_options WHERE option_name LIKE '%theme_mods_%'
    – sdx11
    Apr 7 '18 at 11:24

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.