Description
The wpforms_mailcheck_enabled
filter determines whether the email suggestion feature is enabled for the Email field.
Parameters
- $enable_mailcheck
- (bool) (Required) Determines whether email suggestion will display, default is
true
(display suggestions)
Source
wpforms/src/Frontend/Frontend.php
More Information
The filter will allow you to disable the email suggestion on the Email form fields.
Examples
/** * Filter determines if email suggestion is to be used on Email form field. * * @link https://wpforms.com/developers/wpforms_mailcheck_enabled/ * * @param bool $enable_mailcheck Default is true. * @return bool */ // Disable email suggestion on Email form field add_filter( 'wpforms_mailcheck_enabled', '__return_false' );