bp_email_get_unsubscribe_type_schema()
Get a list of emails for use in our unsubscribe functions.
Description Description
See also See also
Return Return
(array) The array of email types and their schema.
Source Source
File: bp-core/bp-core-functions.php
function bp_email_get_unsubscribe_type_schema() { $emails = bp_email_get_type_schema( 'all' ); /** * Filters the return of `bp_email_get_type_schema( 'all' )` for use with * our unsubscribe functionality. * * @since 2.8.0 * * @param array $emails The array of email types and their schema. */ return (array) apply_filters( 'bp_email_get_unsubscribe_type_schema', $emails ); }
Changelog Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |