[wp-trac] [WordPress Trac] #41786: Action introduction before button to save customizer settings data.
WordPress Trac
noreply at wordpress.org
Sun Sep 3 20:09:16 UTC 2017
#41786: Action introduction before button to save customizer settings data.
-------------------------+---------------------------------
Reporter: Collizo4sky | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Customize | Version: 3.4
Severity: normal | Resolution: wontfix
Keywords: | Focuses: ui, administration
-------------------------+---------------------------------
Changes (by westonruter):
* status: new => closed
* resolution: => wontfix
* milestone: Awaiting Review =>
Comment:
@Collizo4sky hi, for this you'll want to use JavaScript to add the desired
element to the Customizer. You may refer to the Customize Snapshots plugin
for an [https://github.com/xwp/wp-customize-
snapshots/blob/307604483a2a02f73ab35fb0a2e961be5346e46e/js/customize-
snapshots.js#L312-L415 example]. You can see that this `addButtons`
function gets called in a `wp.customize.bind( 'ready, ... )` event
callback.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41786#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list