diff --git a/includes/Handlers/PluginRender.php b/includes/Handlers/PluginRender.php index 8ee3ab0d7..03b82930f 100644 --- a/includes/Handlers/PluginRender.php +++ b/includes/Handlers/PluginRender.php @@ -145,7 +145,7 @@ public static function opt_out_of_sync_clicked() { * Banner for initmation of WooAllProducts version will show up * after a week */ - public function reset_upcoming_version_banners() { + public static function reset_upcoming_version_banners() { set_transient( 'upcoming_woo_all_products_banner_hide', true, 7 * DAY_IN_SECONDS ); }