Before running any code that modifies the behavior of Inventory Presser, make sure Inventory Presser is active. Check if the INVP class exists.

💡 Plugins are not loaded until after the plugins_loaded hook

Check if Inventory Presser is Active

<?php
if ( class_exists( 'INVP' ) )
{
	//Inventory Presser is active
}

Check if Inventory Presser is Not Active

<?php
if ( ! class_exists( 'INVP' ) )
{
	//Inventory Presser is not active
}