This snippet was discovered in the wizard’s chaotic laboratory — an unpolished experiment, conjured to solve a niche challenge. Use at your own risk.
Filename: gp-update-perks-tab-title.php
gp-update-perks-tab-title.php
<?php /** * Gravity Perks // Update Perks Tab Field Settings Title * https://gravitywiz.com/ * * Experimental Snippet */ add_action( 'gform_field_settings_tabs', function( $tabs ) { foreach ( $tabs as &$tab ) { if ( $tab['title'] === __( 'Perks', 'gravityperks' ) ) { // Update "Bonus Features" to whatever you want to call the perks tab. $tab['title'] = 'Bonus Features'; } } return $tabs; }, 99 );
Your email address will not be published. Required fields are marked *
Comment *
Notify me of followup comments via e-mail
Name *
Email *
Website
Save my name, email, and website in this browser for the next time I comment.
By commenting, I understand that I may receive emails related to Gravity Wiz and can unsubscribe at any time.
Δ