get_field not working when acf_ct/settings/store_acf_values_in_post_meta==false
-
I’ve prevented ACFCT from storing data in wp_postmeta via the acf_ct/settings/store_acf_values_in_post_meta==false filter
My use scenario generated 150,000+ rows in the wp_postmeta table so it’s important for me to only store my custom post/field data in the custom table. So far the custom table is working well. However, the normal acf function ‘get_field’ now returns empty values for the custom fields.
Specifically, when using Admin Columns for ACF Fields – this plugin gets the data for the admin columns via a get_field request – and this is now returning empty values. Is there a way I can filter the get_field function, check if the field_group is using a custom table, and then use get_custom_table_field if this is the case?
- You must be logged in to reply to this topic.