Created
January 19, 2022 08:59
-
-
Save xlplugins/02c0ba4832779b8e2903f99049015e93 to your computer and use it in GitHub Desktop.
Trigger next button on page load
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action( 'wfacp_internal_css', function () { ?> | |
<script> | |
window.addEventListener('load', function () { | |
(function ($) { | |
$('.wfacp_next_page_button').trigger('click') | |
})(jQuery); | |
}); | |
</script> | |
<?php } ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment