[wp-trac] [WordPress Trac] #25671: get_theme_mods does not have a filter
WordPress Trac
noreply at wordpress.org
Sun Jan 19 09:07:28 UTC 2014
#25671: get_theme_mods does not have a filter
-----------------------------------------+------------------------------
Reporter: scottsweb | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version:
Severity: normal | Resolution:
Keywords: has-patch reporter-feedback |
-----------------------------------------+------------------------------
Changes (by nacin):
* keywords: has-patch => has-patch reporter-feedback
* component: General => Themes
Comment:
Replying to [comment:7 mark-k]:
> > If you want to make your theme preview aware of changes made in the
theme customiser you need to filter the option return value
>
> then why not use the theme_mod_$name filter?, what is the advantage of
having a new filter?
I have the same question. Perhaps the customized (for example) is using
get_theme_mods() directly? I don't think it is. But seems like the right
filter is already in place.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/25671#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list