Update relations with Advanced Custom Fields
-
I installed Orbis theme+plugin which brought me to posts to posts. I used ACF (v5) to create a front-end table that displays lots of information about each project and each line (each project) has a form where it’s possible to update several fields. One of them should be the relation between projects and persons (two custom post-types).
I belive that what I should do is create an action that updates the connections to that post (project) every time the ACF field value is updated.
From what I found I can use this to trigger the action when the ACF field is updated . But I have no idea how to do the rest. Any help?add_filter(‘acf/update_value/name=person’, …
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Update relations with Advanced Custom Fields’ is closed to new replies.