WC_Install::wc_admin_db_update_noticepublic staticWC 4.0.0

Deprecated since 10.3.0. It is no longer supported and may be removed in future releases. It is recommended to replace this function with the same one.

Add WC Admin based db update notice.

Method of the class: WC_Install{}

No Hooks.

Returns

null. Nothing (null).

Usage

$result = WC_Install::wc_admin_db_update_notice();

Changelog

Since 4.0.0 Introduced.
Deprecated since 10.3.0

WC_Install::wc_admin_db_update_notice() code WC 10.3.3

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();
	}
}