Support

Account

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 🙂