Hi there,
I have a problem with categories.
I have a custom post “shoes”, with advanced custom field.
When creating a new “shoes” post, the user can chose a brand (radio button), Then he can enter a model filling a text input.
The post are then filtered on the front end by brand or by brand AND model.
What hook and actions could I use so that the value entered on the Model field is added as a child category of the selected brand?
Hi @l.pirondini
Please use the acf/save_post action to run any logic after ACF saves any values.
You can read about this action on the documentation page.
Thanks
E