Skip to content

Commit

Permalink
fix: enable the themes submenu in the admin site (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicomiguelino authored Jan 30, 2025
1 parent ef8917f commit b977960
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions screenly-cast/inc/Settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,6 @@ public function init(): void {

// Add settings menu item.
add_action( 'admin_menu', array( $this, 'add_settings_page' ) );

// Remove default theme menu items.
add_action(
'admin_menu',
function (): void {
remove_submenu_page( 'themes.php', 'themes.php' );
}
);
}

/**
Expand Down

0 comments on commit b977960

Please sign in to comment.