formcierge_state_list
Filter

Since v1.0.0

Modify the list of US states available in the State field type.

Parameters
$states array Associative array of state code => name pairs.
Defined in
includes/Fields/StateField.php
add_filter( 'formcierge_state_list', function ( $states ) {
    $states['PR'] = 'Puerto Rico';
    return $states;
} );