Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
//Open
jQuery( window ).trigger( {
type: 'jet-popup-open-trigger',
popupData: {
popupId: 'jet-popup-<numeric popup ID>',
}
} );
//Close , just trigger click to match the rules in popup setting
jQuery('#jet-popup-<numeric popup ID> .jet-popup__close-button').click();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment