protected static function get_render_callback( $callback ) {
		/**
		 * Rendering the field.
		 *
		 * @param Field       $field         The passed in `CMB2_Field` object.
		 * @param mixed       $escaped_value The value of this field escaped.
		 * @param int         $object_id     The ID of the current object.
		 * @param string      $object_type   The type of object you are working with.
		 * @param \CMB2_Types $field_types   The `CMB2_Types` object.
		 */
		return function ( $field, $escaped_value, $object_id, $object_type, $field_types ) use ( $callback ) {
			if ( $field instanceof Contracts\Field ) {
				$callback( $field, $escaped_value, $field_types );
			}
		};
	}