Add acf field in title (admin table)

I want to add an ACF field in my post title, only on admin table (not in the title field stored in database), and only for a specific Custom Post Type. Some of my posts have the same name, so it will be more useful to have this information. In final, my title will look like that :

$new_title = get_the_title($post->ID).' - '.get_field('place', $post->ID);

I have found other solutions on other topics, but all the post types are affected. Thank you.

Read more here: Add acf field in title (admin table)

Leave a Reply

Your email address will not be published. Required fields are marked *