WordPress at Your Fingertips
function is not described

WC_Install::manual_database_update() public WC 3.6.5

Performan manual database update when triggered by WooCommerce System Tools.

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

No Hooks.

Return

null. Nothing.

Usage

$result = WC_Install::manual_database_update();

Changelog

Since 3.6.5 Introduced.

Code of WC_Install::manual_database_update() WC 5.7.1

public static function manual_database_update() {
	$blog_id = get_current_blog_id();

	add_action( 'wp_' . $blog_id . '_wc_updater_cron', array( __CLASS__, 'run_manual_database_update' ) );
}