Get Field Type safety
S
Sebastian Thulin
The get_field function needs to be type-safe. If the returned value does not match the expected field format, it should return null instead.
The function should always respect the field’s defined type. For example, a repeater field should never return a string such as "1", which currently happens frequently.
This is the biggest pain-point right now with ACF.