bp_email_custom_metaboxes

Custom metaboxes used by our 'bp-email' post type.

Description

bp_email_custom_metaboxes(); 

Usage

  1. if ( !function_exists( 'bp_email_custom_metaboxes' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress/bp-core/admin/bp-core-admin-functions.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = bp_email_custom_metaboxes(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/bp-core/admin/bp-core-admin-functions.php  
  1. function bp_email_custom_metaboxes() { 
  2. // Remove default 'Excerpt' metabox and replace with our own. 
  3. remove_meta_box( 'postexcerpt', null, 'normal' ); 
  4. add_meta_box( 'postexcerpt', __( 'Plain text email content', buddypress ), 'bp_email_plaintext_metabox', null, 'normal', 'high' );