bp_email_custom_metaboxes()
Custom metaboxes used by our ‘bp-email’ post type.
Description Description
Source Source
File: bp-core/admin/bp-core-admin-functions.php
function bp_email_custom_metaboxes() {
// Remove default 'Excerpt' metabox and replace with our own.
remove_meta_box( 'postexcerpt', null, 'normal' );
add_meta_box( 'postexcerpt', __( 'Plain text email content', 'buddypress' ), 'bp_email_plaintext_metabox', null, 'normal', 'high' );
}
Changelog Changelog
| Version | Description |
|---|---|
| 2.5.0 | Introduced. |