From 9738bbef00e88dde9e2f975ca4b7378469265e1a Mon Sep 17 00:00:00 2001 From: Allen Benny Date: Tue, 2 Apr 2024 12:48:11 +0530 Subject: [PATCH] Add Case for Sitegen --- includes/Preview.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/includes/Preview.php b/includes/Preview.php index 91c03f3..41ea14a 100644 --- a/includes/Preview.php +++ b/includes/Preview.php @@ -26,6 +26,11 @@ private static function boolean_to_status( $boolean ) { private static function pre_requisites() { $theme_map = Themes::get(); return array( + 'sitegen' => array( + 'themes' => array( + 'nfd_slug_yith_wonder' => self::boolean_to_status( ThemeInstaller::is_theme_active( $theme_map['nfd_slugs']['nfd_slug_yith_wonder']['stylesheet'] ) ), + ), + ), 'wp-setup' => array( 'themes' => array( 'nfd_slug_yith_wonder' => self::boolean_to_status( ThemeInstaller::is_theme_active( $theme_map['nfd_slugs']['nfd_slug_yith_wonder']['stylesheet'] ) ),