ACF fields prepopulated last user data in fields
-
I saw two closed topics about this issue on this plugin. I also saw that the developer has stopped maintenance of this plugin.
I was seeing the values from last user populated in the registration form which is security concern and also a very bad user experience.
I was able to fix it by the following code in the two functions woocommerce_edit_my_account_page_bottom and woocommerce_edit_my_account_page_top$args = [ 'field_groups' => [$reg_top], 'form' => false, 'return' => '', 'post_id' => 'new_post' ];
The line ‘post_id’ => ‘new_post’ is what I added and it fixed my issue.
- The topic ‘ACF fields prepopulated last user data in fields’ is closed to new replies.