fc_pro_enable_international_phone_fields
Type: Filter
Filters whether international phone fields are enabled.
Signature
apply_filters( 'fc_pro_enable_international_phone_fields', $enabled );
Parameters
| Name | Type | Description |
|---|---|---|
$enabled | bool | Whether international phone fields are enabled. |
Since
2.0.3
Source: inc/checkout-international-phone-field.php
Examples
add_filter( 'fc_pro_enable_international_phone_fields',
/**
* Disable international phone fields.
*
* @param bool $enabled Whether international phone fields are enabled.
* @return bool Filtered value.
*/
function( $enabled ) {
return false;
},
10
);