<?php
/**
 * Handles field-specific hookup/init actions for CMB2 fields.
 *
 * Some versions of CMB2 reference this class, but it may be missing in certain bundles.
 * This minimal implementation ensures compatibility by acting as a no-op passthrough.
 *
 * @since 2.7.0
 * @package CMB2
 */

class CMB2_Hookup_Field
{
    /**
     * Initialize field-specific actions. Currently a no-op passthrough.
     *
     * @param array $field Field configuration array.
     * @param CMB2  $cmb   CMB2 instance.
     *
     * @return array The (possibly modified) field configuration array.
     */
    public static function init($field, CMB2 $cmb)
    {
        return $field;
    }
}


