Title: CMD Plugin Conflicts
Last modified: August 30, 2016

---

# CMD Plugin Conflicts

 *  Resolved [Zain Sohail](https://wordpress.org/support/users/zainsohail19/)
 * (@zainsohail19)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/cmd-plugin-conflicts/)
 * Hey guys,
 * Let me just start by appreciating the efforts. CMB is a great library and is 
   helping me a lot ..
 * I have been using CMB in my plugin for which I will give the authors due credit.
   I just need to know that if any other of the other plugins are using this library,
   won’t it conflict with mine? What can I do to overcome this problem?
 * Thanks,
    Zain
 * [https://wordpress.org/plugins/cmb2/](https://wordpress.org/plugins/cmb2/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [Zain Sohail](https://wordpress.org/support/users/zainsohail19/)
 * (@zainsohail19)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/cmd-plugin-conflicts/#post-6895700)
 * Okay, I think I got it, **my bad**. I added the files locally in the server and
   added the following code ..
 *     ```
       // Initialize the metabox class
       add_action( 'init', 'be_initialize_cmb_meta_boxes', 9999 );
       function be_initialize_cmb_meta_boxes() {
           if ( !class_exists( 'cmb_Meta_Box' ) ) {
               require_once( 'lib/metabox/init.php' );
           }
       }
       ```
   
 * So it would only include my version of the CMB if its not already available ..
 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [10 years, 5 months ago](https://wordpress.org/support/topic/cmd-plugin-conflicts/#post-6895777)
 * That snipplet looks like it’s for the old CMB1 version. CMB2 hooks have the 2
   in them. Do note that we no longer actively support CMB1 at all.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘CMD Plugin Conflicts’ is closed to new replies.

 * ![](https://ps.w.org/cmb2/assets/icon.svg?rev=2866672)
 * [CMB2](https://wordpress.org/plugins/cmb2/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cmb2/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cmb2/)
 * [Active Topics](https://wordpress.org/support/plugin/cmb2/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cmb2/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cmb2/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/cmd-plugin-conflicts/#post-6895777)
 * Status: resolved