WordPress at a glance
function is not described

Automattic\WooCommerce\Admin

FeaturePlugin::on_activation() public WC 1.0

Install DB and create cron events when activated.

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

No Hooks.

Return

null. Nothing.

Usage

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

Code of FeaturePlugin::on_activation() WC 5.3.0

<?php
public function on_activation() {
	Install::create_tables();
	Install::create_events();
}