apply_filters( 'bp_get_email', BP_Email $email, string $email_type, array $args, WP_Post $post )

Filters the BP_Email object returned by bp_get_email().

Description

Parameters

$email

An object representing a single email, ready for mailing.

$email_type

Unique identifier for a particular type of email.

$args

Arguments used with get_posts() to fetch a post object.

$post

All posts retrieved by get_posts( $args ). May only contain $post.

Source

File: bp-core/bp-core-functions.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.