WC_Install::wc_admin_db_update_notice()public staticWC 4.0.0

Add WC Admin based db update notice.

Method of the class: WC_Install{}

No Hooks.

Return

null. Nothing (null).

Usage

$result = WC_Install::wc_admin_db_update_notice();

Changelog

Since 4.0.0 Introduced.

WC_Install::wc_admin_db_update_notice() code WC 8.7.0

public static function wc_admin_db_update_notice() {
	if (
		WC()->is_wc_admin_active() &&
		false !== get_option( 'woocommerce_admin_install_timestamp' )
	) {
		new WC_Notes_Run_Db_Update();
	}
}