Hi, I want to update a Wordpress User ACF fileds.
I try to use manage_acf_data but I don’t understand how to write the arguments following in Webhooks zap.
- update_field
This key refers to the update_field() function of ACF: https://www.advancedcustomfields.com/resources/update_field{ "update_field":f { "selector": "first_custom_key", "value": "Some custom value" }, { "selector": "second_custom_key", "value": { "some_array_key": "Some array Value" } } ]}
The example value for this key above shows you on how you can add multiple keys and values using the update_field() function. To make it work, you can add an array within the given construct, using the selector key for the post meta key and the value key for the actual value. The example also shows on how you can include an array. To make that work, you can simply create a sub entry for the value instead of a simple string as seen in the second example.
Any ideas?