Skip to content

Commit 2b813f1

Browse files
authored
gpeb-customize-edit-entry-forms-submit-button-text.php: Added new snippet.
1 parent 7e96de4 commit 2b813f1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?php
2+
/**
3+
* Gravity Perks // Entry Blocks // Customize Edit Entry Form's Submit Button Text
4+
* https://gravitywiz.com/documentation/gravity-forms-entry-blocks/
5+
*/
6+
add_filter( 'gpeb_edit_form', function( $form ) {
7+
$form['button']['text'] = 'Update Entry';
8+
return $form;
9+
} );

0 commit comments

Comments
 (0)