Home › Forums › ACF PRO › Modify select2 Disambiguation of Post Object Titles › Reply To: Modify select2 Disambiguation of Post Object Titles
Thanks for your reply, but I see now that the the post ID in parentheses may be added by a different plugin, Admin Columns Pro (AC), which among other things provides its own ACF integration.
AC apparently intercepts the post list before the ACF Post Object select2 field processes the list of posts. Where the same ACF field appears by itself – outside of an admin column – the post IDs do not appear. I expect that that list will be modifiable via the ACF hook you specify. To modify the one that appears in the admin column setting, it looks like I’ll have to kludge something up. On the bright side, an AC “get_duplicates” function and its application look like useful models for dealing with ACF post-list output.
I still haven’t found exactly where or how the substitution occurs. If and when I do, I’ll post the information here, just so that ACF users can get something out of this thread, which otherwise I’d see about getting deleted.
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!
2022 was a big year for Advanced Custom Fields, with more capabilities, a new generation of ACF Blocks, a refreshed UI, and a new home. Our year in review post looks at advancements we’ve made and offers a glimpse of the future.— Advanced Custom Fields (@wp_acf) January 6, 2023
© 2023 Advanced Custom Fields.