bp_get_email_post_type()

Returns the name of the email post type.

Description

Return

(string) The name of the email post type.

Source

File: bp-core/bp-core-functions.php

3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
function bp_get_email_post_type() {
 
    /**
     * Filters the name of the email post type.
     *
     * @since BuddyPress 2.5.0
     *
     * @param string $value Email post type name.
     */
    return apply_filters( 'bp_get_email_post_type', buddypress()->email_post_type );
}

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.