WordPress at Your Fingertips
function is not described

WC_Install::wc_admin_db_update_notice() public WC 4.0.0

Add WC Admin based db update notice.

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

No Hooks.

Return

null. Nothing.

Usage

$result = WC_Install::wc_admin_db_update_notice();

Changelog

Since 4.0.0 Introduced.

Code of WC_Install::wc_admin_db_update_notice() WC 5.7.1

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