WordPress at a glance
function is not described

Automattic\WooCommerce\Admin

FeaturePlugin::on_deactivation() public WC 1.0

Remove WooCommerce Admin scheduled actions on deactivate.

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

No Hooks.

Return

null. Nothing.

Usage

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

Code of FeaturePlugin::on_deactivation() WC 5.3.0

<?php
public function on_deactivation() {
	// Don't clean up if the WooCommerce Admin package is in core.
	// NOTE: Any future divergence from the core package will need to be accounted for here.
	if ( defined( 'WC_ADMIN_PACKAGE_EXISTS' ) && WC_ADMIN_PACKAGE_EXISTS ) {
		return;
	}

	// Check if we are deactivating due to dependencies not being satisfied.
	// If WooCommerce is disabled we can't include files that depend upon it.
	if ( ! $this->has_satisfied_dependencies() ) {
		return;
	}

	$this->includes();
	ReportsSync::clear_queued_actions();
	Notes::clear_queued_actions();
	wp_clear_scheduled_hook( 'wc_admin_daily' );
	wp_clear_scheduled_hook( 'generate_category_lookup_table' );
}