cmb2_set_box_object_type
cmb2_set_box_object_type
Appears in: cmb2.2.11.0
Hook Type: filter
Displaying hooks found in version: cmb2.2.11.0apply_filters('cmb2_set_box_object_type') is found 1 times:
- /includes/CMB2.php line 112211181119112011211122112311241125112611271128
* @param string
$mb_object_type
The metabox object type.
* @param string
$found_type
The found object type.
* @param CMB2
$cmb
This CMB2 object.
*/
$this
->mb_object_type = apply_filters(
'cmb2_set_box_object_type'
,
$mb_object_type
,
$found_type
,
$this
);
return
$this
->mb_object_type;
}
/**
* Gets the box
'object_types'
array
based on box settings.