Home › Forums › ACF PRO › how to disable select2 › Reply To: how to disable select2
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!
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.