Customize Edit Entry Form’s Submit Button Text

Code

Filename: gpeb-customize-edit-entry-forms-submit-button-text.php

<?php
/**
 * Gravity Perks // Entry Blocks // Customize Edit Entry Form's Submit Button Text
 * https://gravitywiz.com/documentation/gravity-forms-entry-blocks/
 */
add_filter( 'gpeb_edit_form', function( $form ) {
	$form['button']['text'] = 'Update Entry';
	return $form;
} );

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.