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.
includes/Fields/StateField.php
Basic Usage
add_filter( 'formcierge_state_list', function ( $states ) {
$states['PR'] = 'Puerto Rico';
return $states;
} );