Skip to content

Commit

Permalink
Add Case for Sitegen
Browse files Browse the repository at this point in the history
  • Loading branch information
officiallygod committed Apr 2, 2024
1 parent 08e1970 commit 9738bbe
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions includes/Preview.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'] ) ),
Expand Down

0 comments on commit 9738bbe

Please sign in to comment.