WC_Regenerate_Images::regenerating_notice()
Show notice when job is running in background.
Description Description
Source Source
File: includes/class-wc-regenerate-images.php
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' ); } }