WordPress at Your Fingertips
function is not described

WC_Regenerate_Images::regenerating_notice() public WC 1.0

Show notice when job is running in background.

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

No Hooks.

Return

null. Nothing.

Usage

$result = WC_Regenerate_Images::regenerating_notice();

Code of WC_Regenerate_Images::regenerating_notice() WC 5.9.0

public static function regenerating_notice() {
	if ( ! self::$background_process->is_running() ) {
		WC_Admin_Notices::add_notice( 'regenerating_thumbnails' );
	} else {
		WC_Admin_Notices::remove_notice( 'regenerating_thumbnails' );
	}
}