Friday, October 21, 2016

WP ACF fails to save/load data silently and intermittently

LOOK AT THIS:

Similar to the update_field() function, using a field’s key rather than it’s name allows ACF to correctly find the field if no existing value has been saved. To expand on this, if no repeater field value exists, this function will fail unless field key’s are used.

https://www.advancedcustomfields.com/resources/add_row/



It seems that we must ALWAYS use field_keys to avoid super strange and intermittent problems with ACF Pro.

No comments:

Post a Comment

Ubuntu 12.04, 14.04, 16.04 - auto start an app or script before login

To run a command or application at startup, even before the user has logged in, you can use this file: /etc/rc.local The commands entered...