fc_enable_checkout_email_mailcheck
Type: Filter
Filters whether email typo suggestions are enabled at checkout.
Signature
apply_filters( 'fc_enable_checkout_email_mailcheck', $enabled );
Parameters
| Name | Type | Description |
|---|---|---|
$enabled | bool | Whether the feature is enabled. Default true. |
Since
3.1.5
Source: inc/checkout-validation.php
Examples
add_filter( 'fc_enable_checkout_email_mailcheck',
/**
* Disable email typo suggestions.
*
* @param bool $enabled Whether the feature is enabled. Default true.
* @return bool Filtered value.
*/
function( $enabled ) {
return false;
},
10
);