fc_checkout_is_valid_phone_number
Type: Filter
Filters whether a checkout phone number passes validation.
Signature
apply_filters( 'fc_checkout_is_valid_phone_number', $is_valid, $phone_number, $field_key, $field_args );
Parameters
| Name | Type | Description |
|---|---|---|
$is_valid | bool | Is valid. |
$phone_number | string | Phone number to validate. |
$field_key | string | Checkout field key. |
$field_args | array | Checkout field arguments. |
Since
2.0.4
Source: inc/checkout-validation.php