[wp-trac] [WordPress Trac] #36452: customize_value should be passed $this

WordPress Trac noreply at wordpress.org
Sat Apr 16 01:22:06 UTC 2016


#36452: customize_value should be passed $this
---------------------------+-----------------------
 Reporter:  nwp_developer  |       Owner:
     Type:  defect (bug)   |      Status:  reopened
 Priority:  normal         |   Milestone:  4.6
Component:  Customize      |     Version:  4.4.2
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:
---------------------------+-----------------------

Comment (by nwp_developer):

 Thanks!

 Can anyone give me a start to how to use do_action(
 "customize_preview_{$this->type}", $this ) if I have a setting that's
 saved outside of wp_options?

 How would I handle the customizer iframe preview similar to how
 get_theme_mod() works? I can't use transport=>postMessage since content is
 dynamic.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36452#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list