WooCommerce::deactivated_plugin()
Ran when any plugin is deactivated.
Method of the class: WooCommerce{}
No Hooks.
Return
null
. Nothing (null).
Usage
$WooCommerce = new WooCommerce(); $WooCommerce->deactivated_plugin( $filename );
- $filename(string) (required)
- The filename of the deactivated plugin.
Changelog
Since 3.6.0 | Introduced. |
WooCommerce::deactivated_plugin() WooCommerce::deactivated plugin code WC 9.2.3
public function deactivated_plugin( $filename ) { include_once __DIR__ . '/admin/helper/class-wc-helper.php'; WC_Helper::deactivated_plugin( $filename ); }