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

	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.