PHP code example of innocode-digital / wp-mailgun-email-validation
1. Go to this page and download the library: Download innocode-digital/wp-mailgun-email-validation library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
innocode-digital / wp-mailgun-email-validation example snippets
add_filter( 'innocode_mailgun_email_validation_skip_admin_email', function ( $skip, $email ) {
return $skip;
} );
add_filter( 'innocode_mailgun_email_validation_skip_user_email', function ( $skip, $email ) {
return $skip;
} );
add_filter( 'innocode_mailgun_email_validation_validated', function ( $validated, array $email ) {
return $validated;
} );