bp_get_email_post_type_labels()
Return labels used by the email post type.
Description
Return
(array)
Source
File: bp-core/bp-core-functions.php
function bp_get_email_post_type_labels() {
/**
* Filters email post type labels.
*
* @since BuddyPress 2.5.0
*
* @param array $value Associative array (name => label).
*/
return apply_filters( 'bp_get_email_post_type_labels', array(
'add_new' => __( 'New Email', 'buddyboss' ),
'add_new_item' => __( 'Add New Email', 'buddyboss' ),
'all_items' => __( 'All Emails', 'buddyboss' ),
'edit_item' => __( 'Edit Email', 'buddyboss' ),
'filter_items_list' => __( 'Filter email list', 'buddyboss' ),
'items_list' => __( 'Email list', 'buddyboss' ),
'items_list_navigation' => __( 'Email list navigation', 'buddyboss' ),
'menu_name' => __( 'Emails', 'buddyboss' ),
'name' => __( 'Email Templates', 'buddyboss' ),
'new_item' => __( 'New Email', 'buddyboss' ),
'not_found' => __( 'No emails found', 'buddyboss' ),
'not_found_in_trash' => __( 'No emails found in trash', 'buddyboss' ),
'search_items' => __( 'Search Emails', 'buddyboss' ),
'singular_name' => __( 'Email', 'buddyboss' ),
'uploaded_to_this_item' => __( 'Uploaded to this email', 'buddyboss' ),
'view_item' => __( 'View Email', 'buddyboss' ),
) );
}
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.