cmb_save_metabox_fields

The BuddyPress Profile Tabs cmb save metabox fields function.

Description

cmb_save_metabox_fields( $meta_box, $object_id ); 

Parameters (2)

0. $meta_box
The meta box.
1. $object_id
The object id.

Usage

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

Defined (1)

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

/admin/includes/CMBF/init.php  
  1. function cmb_save_metabox_fields( $meta_box, $object_id ) { 
  2. cmb_Meta_Box::save_fields( $meta_box, $object_id );