cmb_print_metaboxes

The BuddyPress Profile Tabs cmb print metaboxes function.

Description

cmb_print_metaboxes( $meta_boxes, $object_id ); 

Parameters (2)

0. $meta_boxes
The meta boxes.
1. $object_id
The object id.

Usage

  1. if ( !function_exists( 'cmb_print_metaboxes' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress-profile-tabs/admin/includes/CMBF/init.php'; 
  3.  
  4. // The meta boxes. 
  5. $meta_boxes = null; 
  6.  
  7. // The object id. 
  8. $object_id = null; 
  9.  
  10. // NOTICE! Understand what this does before running. 
  11. $result = cmb_print_metaboxes($meta_boxes, $object_id); 
  12.  

Defined (1)

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

/admin/includes/CMBF/init.php  
  1. function cmb_print_metaboxes( $meta_boxes, $object_id ) { 
  2. foreach ( (array) $meta_boxes as $meta_box ) { 
  3. cmb_print_metabox( $meta_box, $object_id );