cmb2_set_object_id
cmb2_set_object_id
Appears in: cmb2.2.11.0
Hook Type: filter
Displaying hooks found in version: cmb2.2.11.0apply_filters('cmb2_set_object_id') is found 1 times:
- /includes/CMB2.php line 1068
* * @param integer|string $object_id Object ID. * @param CMB2 $cmb This CMB2 object. */ $object_id = apply_filters( 'cmb2_set_object_id', $object_id, $this ); // reset to id or 0. $this->object_id = ! empty( $object_id ) ? $object_id : 0; return $this->object_id; }