WordPress at a glance
function is not described

Automattic\WooCommerce\Admin

Install::install() public WC 1.0

Install WC Admin.

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

Hooks from the method
Return

null. Nothing.

Usage

$result = Install::install();

Code of Install::install() WC 5.3.0

<?php
public static function install() {
	if ( ! is_blog_installed() ) {
		return;
	}

	// Check if we are not already running this routine.
	if ( 'yes' === get_transient( 'wc_admin_installing' ) ) {
		return;
	}

	// If we made it till here nothing is running yet, lets set the transient now.
	set_transient( 'wc_admin_installing', 'yes', MINUTE_IN_SECONDS * 10 );
	wc_maybe_define_constant( 'WC_ADMIN_INSTALLING', true );

	self::migrate_options();
	self::create_tables();
	self::create_events();
	self::delete_obsolete_notes();
	self::maybe_update_db_version();

	delete_transient( 'wc_admin_installing' );

	// Use add_option() here to avoid overwriting this value with each
	// plugin version update. We base plugin age off of this value.
	add_option( 'woocommerce_admin_install_timestamp', time() );
	do_action( 'woocommerce_admin_installed' );
}