Home › Forums › General Issues › merge contents of 2 subfields to one result › Reply To: merge contents of 2 subfields to one result
well actually that seemed to work, but I had to use:
$speakers = array_merge(
get_field('relationship_1'),
get_field('relationship_2'));
instead of:
$speakers = array_merge(
get_field('relationship_1', false, false),
get_field('relationship_2', false, false));
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!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.