WC_Admin_Notices::regenerating_lookup_table_notice()
Notice shown when regenerating thumbnails background process is running.
Method of the class: WC_Admin_Notices{}
No Hooks.
Return
null
. Nothing (null).
Usage
$result = WC_Admin_Notices::regenerating_lookup_table_notice();
Changelog
Since 3.6.0 | Introduced. |
WC_Admin_Notices::regenerating_lookup_table_notice() WC Admin Notices::regenerating lookup table notice code WC 9.5.1
public static function regenerating_lookup_table_notice() { // See if this is still relevant. if ( ! wc_update_product_lookup_tables_is_running() ) { self::remove_notice( 'regenerating_lookup_table' ); return; } include __DIR__ . '/views/html-notice-regenerating-lookup-table.php'; }