Last active
April 2, 2018 18:17
-
-
Save robhob/477ca3be9f98e93f38bd395d398ce303 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter( 'caldera_forms_phone_js_options', function( $options){ | |
//Use ISO_3166-1_alpha-2 formatted country code | |
$options[ 'initialCountry' ] = 'GB'; | |
return $options; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment