Front Page › Forums › General › File states for France? › Reply To: File states for France?
April 24, 2018 at 7:20 pm
#16414
Shawon Chowdhury
Moderator
@maxtrend,
You can use this filter to add additional states.
add_filter( ‘erp_states’, function ( $states ) {
$states[‘FR’] = [
‘A’ => ‘Anything’, // Add the states here.
‘B’ => ‘Bestthing’,
‘ZH’ => ‘Zuid-Holland’,
];
return $states;
} );
Add this part to your theme’s function.php or use a child theme.
Thanks 🙂