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.