apply_filters( 'bp_email_set_to', BP_Email_Recipient[] , string $to_address, string $name, string $operation, BP_Email $this )

Filters the new value of the email’s “to” property.


Description Description


Parameters Parameters

"To" recipients.

$to_address

"To" address.

$name

"To" name.

$operation

If "replace", $to_address replaced previous recipients. If "add", $to_address was added to the array of recipients.

$this

Current instance of the email type class.


Top ↑

Source Source

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


Top ↑

Changelog Changelog

Changelog
Version Description
2.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.