apply_filters( 'bp_get_email_post', WP_Post $post, string $email_type, array $args )

Filters arguments used to create the BP_Email object.

Description

Parameters

$post

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

$email_type

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

$args

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

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.