Skip to main content

Timeline for Can I fake being in the customizer?

Current License: CC BY-SA 4.0

5 events
when toggle format what by license comment
Oct 30, 2019 at 19:46 comment added Tom J Nowell hmmm do you have an example of that? It'd be good to try and reproduce it so I can figure out what it's doing
Oct 30, 2019 at 19:04 comment added Daniel Smith I frankly forgot. I feel bad for even asking. Been working for 16 hours now. The customizer has another type of theme mod that you can't see unless you go inside of it. If you could help with an idea, I will reword my question to fit that.
Oct 30, 2019 at 15:44 comment added Tom J Nowell Then some of them might be options or generated, but I know for certain that what you're. trying to do is rare and unusual, and that there's no way to "fake" the customizer. Perhaps if you asked about the original task you were trying to achieve/solve rather than how to implement this solution I'd be able to give a more useful answer?
Oct 30, 2019 at 14:36 comment added Daniel Smith I thought so too, initially. But then you go ahead and inspect the settings() and you see way more things being there than in the $theme_name$_theme_mods option that get_theme_mods gives you. I have no idea how it works internally, I just know you must be inside the customizer to see these options.
Oct 30, 2019 at 14:18 history answered Tom J Nowell CC BY-SA 4.0