Home › Forums › Backend Issues (wp-admin) › acf/fields/relationship/result only affecting right-hand column › Reply To: acf/fields/relationship/result only affecting right-hand column
I just tested this and it is working as expected, altering both sides.
I did not test this part
$custom_id = get_field($post_type_singular_slug . '_id', $post->ID);
if ($custom_id) {
$title = sanitize_text_field($custom_id) . ' ' . $title;
}
but I don’t see anything wrong with it provide the field you are trying get exists on the post.
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.