WordPress at Your Fingertips
function is not described

WC_Admin_Notices::regenerating_lookup_table_notice() public WC 3.6.0

Notice shown when regenerating thumbnails background process is running.

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

No Hooks.

Return

null. Nothing.

Usage

$result = WC_Admin_Notices::regenerating_lookup_table_notice();

Changelog

Since 3.6.0 Introduced.

Code of WC_Admin_Notices::regenerating_lookup_table_notice() WC 5.9.0

public static function regenerating_lookup_table_notice() {
	// See if this is still relevent.
	if ( ! wc_update_product_lookup_tables_is_running() ) {
		self::remove_notice( 'regenerating_lookup_table' );
		return;
	}

	include dirname( __FILE__ ) . '/views/html-notice-regenerating-lookup-table.php';
}