I have a field group called event. In that field group i have a repeater field called event_session. One of the fields in that repeater section is called session_speaker. It is a post_object related to a field in a different field group called speakers.
I’m trying to create an event item where a user can choose who will be speaking at certain times in the events. These time slots i’m calling sessions.
Here is a link to the fields in my event field group:
SO the line you mentioned above is just setting a variable to that subfield so i can pull content from the speakers field group.
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!