1

Is there any way to trigger the Customizer's Publish button in javascript?

The use-case is to create a secondary save button within a section.

Example of Publish Button

1 Answer 1

2

Found the answer to this. For anyone looking:

wp.customize.previewer.save()

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.