WordPress at a glance
function is not described

Automattic\WooCommerce\Admin

FeaturePlugin::deactivate_self() public WC 1.0

Deactivates this plugin.

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

No Hooks.

Return

null. Nothing.

Usage

$FeaturePlugin = new FeaturePlugin();
$FeaturePlugin->deactivate_self();

Code of FeaturePlugin::deactivate_self() WC 5.3.0

<?php
public function deactivate_self() {
	deactivate_plugins( plugin_basename( WC_ADMIN_PLUGIN_FILE ) );
	unset( $_GET['activate'] ); // phpcs:ignore CSRF ok.
}