bp_email_get_type( int|WP_Post $email = null )
Gets the BP Email type of a BP Email ID or object.
Description Description
Parameters Parameters
-
(Optional) BP Email ID or BP Email object. Defaults to global $post.
Default value: null
Return Return
(string) The type of the BP Email object.
Source Source
File: bp-core/bp-core-functions.php
Changelog Changelog
Version | Description |
---|---|
8.0.0 | Introduced. |