cmb_render_<name>

The BuddyPress Profile Tabs cmb render name hook.

Description

do_action( 'cmb_render_<name>', (unknown) $this_field_args, (unknown) $this_field_escaped_value, (unknown) $this_field_object_id, (unknown) $this_field_object_type, (unknown) $instance ); 

Parameters (5)

0. $this_field_args (unknown)
The this field args.
1. $this_field_escaped_value (unknown)
The this field escaped value.
2. $this_field_object_id (unknown)
The this field object id.
3. $this_field_object_type (unknown)
The this field object type.
4. $instance (unknown)
The instance.

Usage

To run the hook, copy the example below.
  1. // run the action 
  2. do_action( 'cmb_render_{$name}', $this_field_args, $this_field_escaped_value, $this_field_object_id, $this_field_object_type, $instance ); 
The following example is for adding a hook callback.
  1. // define the cmb_render_<name> callback 
  2. function action_cmb_render_name( $this_field_args, $this_field_escaped_value, $this_field_object_id, $this_field_object_type, $instance ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( "cmb_render_{$name}", 'action_cmb_render_name', 10, 5 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. remove_action( "cmb_render_{$name}", 'action_cmb_render_name', 10, 5 ); 

Defined (1)

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

/admin/includes/CMBF/helpers/cmb_Meta_Box_types.php  
  1. do_action( "cmb_render_$name", $this->field->args(), $this->field->escaped_value(), $this->field->object_id, $this->field->object_type, $this );