function wc2_get_custom_field_value($custom_key, $array_key = 'value') { $res = WC2_Funcs::get_custom_field_value($custom_key, $array_key); return $res; }