Change United States to United States of America


You can follow the link below where I’ve provided a solution that is almost similar. However, you need to make a few modifications to the code. You can follow the same process and use the following modified code.

add_filter( 'gform_countries', 'modify_countries_list' );

function modify_countries_list( $countries ) {
    $key = array_search( 'United States', $countries );

    if ( $key !== false ) {
        unset( $countries[ $key ] );

    $countries[] = 'United States of America' ;

    return $countries;


Give it a try, and let me know how that goes! :smile: