Modify Frontend Labels

Code

Filename: gpmpn-modify-frontend-labels.php

<?php
/**
 * Gravity Perks // Multi-page Navigation // Modify Frontend Labels
 * https://gravitywiz.com/documentation/gravity-forms-multi-page-navigation/
 */
add_filter( 'gpmpn_frontend_labels', function( $labels ) {
	$labels['backToLastPage']     = 'My Custom Button Label';
	$labels['submit']             = 'Submit';
	$labels['nextPageWithErrors'] = 'Next Page with Errors';
	return $labels;
} );

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.