Support

Account

Home Forums Bug Reports Programmatically inserting field with update_field() does not at _field_key meta Reply To: Programmatically inserting field with update_field() does not at _field_key meta

  • As long as this field is not a sub field of a repeater, flex field, clone or group field, it should be working if the field key and post ID is correct.

    I have had issues with updating fields due to the WP post meta cache. Sometimes you need to clear it before trying to update.

    
    wp_cache_delete($post_id, 'post_meta');