diff --git a/includes/WP_Admin.php b/includes/WP_Admin.php index 8cb78077f..d702af322 100644 --- a/includes/WP_Admin.php +++ b/includes/WP_Admin.php @@ -6,6 +6,7 @@ use NewfoldLabs\WP\Module\Onboarding\Services\PluginService; use NewfoldLabs\WP\Module\Onboarding\Services\ThemeService; use NewfoldLabs\WP\Module\Onboarding\Data\Services\FlowService; +use NewfoldLabs\WP\Module\Onboarding\Data\Services\SiteGenService; use NewfoldLabs\WP\Module\Onboarding\Data\Themes; use NewfoldLabs\WP\Module\Onboarding\Services\I18nService; @@ -32,6 +33,7 @@ public function __construct() { \add_action( 'load-dashboard_page_' . self::$slug, array( __CLASS__, 'initialize' ) ); if ( 'sitegen' === Data::current_flow() ) { \add_action( 'load-themes.php', array( __CLASS__, 'mark_sitegen_generated_themes' ) ); + SiteGenService::pre_set_filter_wonder_blocks_transients(); } }