Skip to content

Instantly share code, notes, and snippets.

@jaredatch
Created March 16, 2017 14:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaredatch/e796e70d22395abc3c0eab2fa778c248 to your computer and use it in GitHub Desktop.
Save jaredatch/e796e70d22395abc3c0eab2fa778c248 to your computer and use it in GitHub Desktop.
WPForms disable multipage scroll
<?php
/**
* Disable multipage scroll
*
*/
function wpf_disable_multipage_scroll() {
?>
<script type="text/javascript">window.wpforms_pageScroll = false;</script>
<?php
}
add_action( 'wpforms_wp_footer', 'wpf_disable_multipage_scroll' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment