Home › Forums › ACF PRO › Including ACF Pro in a Plugin › Reply To: Including ACF Pro in a Plugin
Haven’t tried this myself but you should be able to deactivate the activated plugin by using deactivate_plugins() wordpress function
http://codex.wordpress.org/Function_Reference/deactivate_plugins
Once the plugin is deactivated you could load the one in your plugin.
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.