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

up vote 13 down vote accepted

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

Your Answer

 
discard

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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