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

(BP_Email) An object representing a single email, ready for mailing.

$email_type

(string) Unique identifier for a particular type of email.

$args

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

$post

(WP_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.