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
1 parent a1c7410 commit 8a41083Copy full SHA for 8a41083
experimental/gp-update-perks-tab-title.php
@@ -1,14 +1,6 @@
1
<?php
2
/**
3
- * Gravity Perks // Update Perks Tab Field Settings Title
4
- * https://gravitywiz.com/
+ * We're no longer using the experimental folder for experimental snippets. 🚧
+ * You can now find the snippet here:
5
+ * https://github.com/gravitywiz/snippet-library/blob/master/gravity-forms/gp-update-perks-tab-title.php
6
*/
-add_action( 'gform_field_settings_tabs', function( $tabs ) {
7
- foreach ( $tabs as &$tab ) {
8
- if ( $tab['title'] === __( 'Perks', 'gravityperks' ) ) {
9
- // Update "Bonus Features" to whatever you want to call the perks tab.
10
- $tab['title'] = 'Bonus Features';
11
- }
12
13
- return $tabs;
14
-}, 99 );
0 commit comments