WordPress at Your Fingertips
function is not described

WooCommerce::deactivated_plugin() public WC 3.6.0

Ran when any plugin is deactivated.

{} It's a method of the class: WooCommerce{}

No Hooks.

Return

null. Nothing.

Usage

$WooCommerce = new WooCommerce();
$WooCommerce->deactivated_plugin( $filename );
$filename(string) (required)
The filename of the deactivated plugin.

Changelog

Since 3.6.0 Introduced.

Code of WooCommerce::deactivated_plugin() WC 5.7.1

public function deactivated_plugin( $filename ) {
	include_once dirname( __FILE__ ) . '/admin/helper/class-wc-helper.php';

	WC_Helper::deactivated_plugin( $filename );
}