How would I go about finding if a image (with a certain URL) is used stored in the Customizer data?
1 Answer
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>.– AlanPCommented Sep 21, 2015 at 22:18
-
2use this query to spot the them : SELECT * FROM
wp_options
WHEREoption_name
LIKE '%theme_mods_%'– sdx11Commented Apr 7, 2018 at 11:24