rcp_bbp_add_meta_boxes

The Restrict Content Pro - bbPress rcp bbp add meta boxes function.

Description

rcp_bbp_add_meta_boxes(); 

Usage

  1. if ( !function_exists( 'rcp_bbp_add_meta_boxes' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'restrict-content-pro-bbpress/includes/metaboxes.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = rcp_bbp_add_meta_boxes(); 
  7.  

Defined (1)

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

/includes/metaboxes.php  
  1. function rcp_bbp_add_meta_boxes() { 
  2. add_meta_box( 'rcpb_forum_meta_box', __( 'Restrict this Forum', 'rcp_bbpress' ), 'rcp_bbp_render_meta_box', 'forum', 'side' ); 
  3. add_meta_box( 'rcpb_topic_meta_box', __( 'Restrict this Topic', 'rcp_bbpress' ), 'rcp_bbp_render_meta_box', 'topic', 'side' );