Customize Edit Entry Form’s Submit Button Text
Instructions
See “Where do I put snippets?” in our documentation for installation instructions.
Code
Filename: gpeb-customize-edit-entry-forms-submit-button-text.php
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;
} );