Home › Forums › ACF PRO › Select2 Conflict with Awesome Support › Reply To: Select2 Conflict with Awesome Support
Hi @ajgagnon
The main reason ACF still use the old version is that it contains more functionality such as the ability to order the selected values. If it causes a conflict, I believe you can always remove it:
<?php
function m_dequeue_script() {
wp_deregister_script( 'select2' );
wp_deregister_style( 'select2' );
}
add_action( 'init', 'my_dequeue_script', 20 );
?>
I hope this makes sense 🙂
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.