Skip to content

Instantly share code, notes, and snippets.

  • Star 3 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save BronsonQuick/5997029 to your computer and use it in GitHub Desktop.
Change Gravity Forms name labels from "First" and "Last" to "First Name" and "Last Name"
<?php
function sennza_change_first_name( $label, $form_id ){
return "First Name";
}
add_filter( 'gform_name_first', 'sennza_change_first_name', 10, 2 );
function sennza_change_last_name( $label, $form_id ){
return "Last Name";
}
add_filter( 'gform_name_last', 'sennza_change_last_name', 10, 2 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment