Hi Pat,
Here’s the patch:
Add the following code snippet into the Pie-register.php inside the RegErrors function where it reads:
if( !is_array( $piereg_custom ) ) $piereg_custom = array();
At line #: 1182
Add the following anippet after the above line.
if(in_array($_POST['user_email'],array('[email protected]','[email protected]','[email protected]'))){
$errors->add('Invalid Email', __('<strong>ERROR</strong>: This email is not allowed', 'piereg'));
$CeRror=1;
}
Hope it helps.
Please note: I have placed 3 emails (change them with the ones you want to block), you can increase or decrease as per your need.
Thanks