[wp-trac] [WordPress Trac] #23509: Conditional function that lets you know if your site is being viewed through the Customizer
WordPress Trac
noreply at wordpress.org
Tue Feb 19 01:41:25 UTC 2013
#23509: Conditional function that lets you know if your site is being viewed
through the Customizer
-----------------------------+-------------------------
Reporter: nathanrice | Type: enhancement
Status: new | Priority: normal
Milestone: Awaiting Review | Component: Themes
Version: | Severity: normal
Keywords: 2nd-opinion |
-----------------------------+-------------------------
I can provide a use case if necessary, but this should be relatively
simple.
If I need to do something special with my theme when my site is being
viewed through the customizer, there's no easy way determine if it is.
A simple `is_customizer()` (or similar) function would be incredibly
useful in this scenario.
I'd write up a patch, but I don't know where to put the new function.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23509>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list