Hi @elliot Condon
I’m struggling with this also. I need a way to auto select a value in a Post Object field in the WordPress Admin. My situation is as follows:
I have two custom post types where one relates to the other via the Post Object field. There are certain situations based on criteria of the viewing user that I want to auto select a value in the Post Object field.
Is there a way to do this with the Select2 enabled? If not, I would like to be able to disable the Select2 for this field type.
Is there a way to do this manually in my functions.php?
Thanks in advance for your help.
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 Advanced Custom Fields.