We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
gp-update-perks-tab-title.php
experimental
1 parent a1c7410 commit 0cf93a4Copy full SHA for 0cf93a4
gravity-forms/gp-update-perks-tab-title.php
@@ -0,0 +1,16 @@
1
+<?php
2
+/**
3
+ * Gravity Perks // Update Perks Tab Field Settings Title
4
+ * https://gravitywiz.com/
5
+ *
6
+ * Experimental Snippet 🧪
7
+ */
8
+add_action( 'gform_field_settings_tabs', function( $tabs ) {
9
+ foreach ( $tabs as &$tab ) {
10
+ if ( $tab['title'] === __( 'Perks', 'gravityperks' ) ) {
11
+ // Update "Bonus Features" to whatever you want to call the perks tab.
12
+ $tab['title'] = 'Bonus Features';
13
+ }
14
15
+ return $tabs;
16
+}, 99 );
0 commit comments