Skip to content

Commit

Permalink
Merge pull request #415 from newfold-labs/enhance/wonder-blocks-homep…
Browse files Browse the repository at this point in the history
…ages

Add homepages to Wonder Blocks templates
  • Loading branch information
arunshenoy99 authored Jan 16, 2024
2 parents 2b837c7 + 725407a commit a73083b
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::pre_set_filter_wonder_blocks_transients();
}
}

Expand Down

0 comments on commit a73083b

Please sign in to comment.