Home › Forums › General Issues › ACF Lite & ACF Plugin › Reply To: ACF Lite & ACF Plugin
Hi Elliot,
Yeah, the easiest was I could think to test it was working…
if ( ! class_exists( 'Acf' ) ) {
//define( 'ACF_LITE' , true );
//include_once MY_PLUGIN_PATH . 'inc/advanced-custom-fields/acf.php';
echo "<p>This Works</p>";
}
Responds as it should. When the plugin is active, the echo doesn’t display. When it’s not active, the echo is displayed at the top of the screen.
The same happens when I use the is_plugin_inactive() function. This function does work as it should the for the add-ons.
Cheers,
John
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.