Home › Forums › General Issues › Add all fields for a field group via code on object creation › Reply To: Add all fields for a field group via code on object creation
Thanks for the code. I did a bit of digging into the wp_update_user and it seems that ACF is not hooking into the actions which this function uses.
I’ll add this to the to-do and make sure I update the actions to use these.
For now, I’m not sure what the solution is. Perhaps you could modify the core code in /core/controllers/everything_fields?
Sorry that I don’t have a great answer for you at the moment.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
Are you building WordPress sites with ACF and @BeaverBuilder, and wanted to use your ACF Blocks in both the block editor and Beaver Builder?— Advanced Custom Fields (@wp_acf) May 10, 2023
The BB team recently added support for using ACF Blocks in Beaver Builder. Check it out 👇https://t.co/UalEIa5aQi
© 2023 Advanced Custom Fields.