Change Default Form Page


Filename: gpmpn-change-default-form-page.php

 * Gravity Perks // Multi-Page Navigation // Change Default Form Page
add_filter( 'gpmpn_default_page', function( $page ) {
	// Update "2" to the page at which the form should start. "2" would start the form on the second page.
	return 2;
} );

Leave a Reply

Your email address will not be published. Required fields are marked *

  • Trouble installing this snippet? See our troubleshooting tips.
  • Need to include code? Create a gist and link to it in your comment.
  • Reporting a bug? Provide a URL where this issue can be recreated.

By commenting, I understand that I may receive emails related to Gravity Wiz and can unsubscribe at any time.