WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Notes

DeactivatePlugin::__construct() public WC 1.0

Attach hooks.

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

No Hooks.

Return

null. Nothing.

Usage

$DeactivatePlugin = new DeactivatePlugin();
$DeactivatePlugin->__construct();

Code of DeactivatePlugin::__construct() WC 5.3.0

<?php
public function __construct() {
	add_action( 'init', array( $this, 'deactivate_feature_plugin' ) );
}