apply_filters( 'bp_email_validate', bool|WP_Error $retval, BP_Email $this )

Filters whether the email passes basic validation checks.

Description

Parameters

$retval

Returns true if validation succesful, else a descriptive WP_Error.

$this

Current instance of the email type class.

Source

File: bp-core/classes/class-bp-email.php

Changelog

Changelog
Version Description
BuddyPress 2.5.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.