cmb2_set_box_object_type

cmb2_set_box_object_type

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: cmb2.2.11.0

apply_filters('cmb2_set_box_object_type') is found 1 times:

  • /includes/CMB2.php line 1122
    		 * @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.