Skip to content

Commit

Permalink
Add homepages to wonder blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
arunshenoy99 committed Jan 15, 2024
1 parent 13d0137 commit 4edc4aa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions includes/WP_Admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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::filter_wonder_blocks_transients();
}
}

Expand Down

0 comments on commit 4edc4aa

Please sign in to comment.