cmb_before_table

The BuddyPress Profile Tabs cmb before table hook.

Description

do_action( 'cmb_before_table', (unknown) $meta_box, (unknown) $object_id, (unknown) $object_type ); 

Parameters (3)

0. $meta_box (unknown)
The meta box.
1. $object_id (unknown)
The object id.
2. $object_type (unknown)
The object type.

Usage

To run the hook, copy the example below.
  1. // run the action 
  2. do_action( 'cmb_before_table', $meta_box, $object_id, $object_type ); 
The following example is for adding a hook callback.
  1. // define the cmb_before_table callback 
  2. function action_cmb_before_table( $meta_box, $object_id, $object_type ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( 'cmb_before_table', 'action_cmb_before_table', 10, 3 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. remove_action( 'cmb_before_table', 'action_cmb_before_table', 10, 3 ); 

Defined (1)

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

/admin/includes/CMBF/init.php  
  1. do_action( 'cmb_before_table', $meta_box, $object_id, $object_type );