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
    1118
    1119
    1120
    1121
    1122
    1123
    1124
    1125
    1126
    1127
    1128
         * @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.