is there any replacement function for tep_validate_email()
I am trying to update old addon have this function
Code: Select all
$validEmail = tep_validate_email($order->customer['email_address']);
if (!$validEmail) {
$order->customer['email_address'] = '';