Advanced-Custom-Fields-Autocomplete
Advanced-Custom-Fields-Autocomplete copied to clipboard
Support for ACF PRO 5
Not sure when this change was introduced, but in the most recent versions of ACF PRO 5 the data attribute that stores the field key is “data-key”, not “data-field_name” which is not set anywhere.
This simply checks “data-key” if “data-field_name” is empty.
@WarrenMoore thanks!!!