functions.php
functions.php
<?php
add_filter( 'job_manager_field_editor_phone_args', 'my_custom_phone_args' );
function my_custom_phone_args( $args ){
// Other available arguments, see GitHub for details
// https://github.com/Bluefieldscom/intl-tel-input#options
//
// $args['allowExtensions'] = 'false';
// $args['autoFormat'] = 'true';
// $args['autoHideDialCode'] = 'false';
// $args['autoPlaceholder'] = 'true';
// $args['ipinfoToken'] = '';
// $args['nationalMode'] = 'true';
$args['preferredCountries'] = array( 'iq' );
$args['defaultCountry'] = 'auto';
return $args;
}
No comments yet.