apply_filters( 'bp_email_recipient_get_user', WP_User $name, string $transform, BP_Email $recipient )

Filters the WP_User object for this recipient before it’s returned.

Description

Parameters

$name

WP_User object for this recipient, or null if not set.

$transform

How the return value was transformed. Accepts 'raw' (default) or 'search-email'.

$recipient

$this Current instance of the email recipient class.

Source

File: bp-core/classes/class-bp-email-recipient.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.