Skip to content

Commit 1d8f3b3

Browse files
ineaguclaude
andcommitted
feat: add Masteriyo as recommended plugin in dashboard
Adds Masteriyo LMS (learning-management-system) to the Neve dashboard Recommended Plugins card, with a dedicated graduation-cap icon and a slug-to-path mapping since the plugin's main file is `lms.php`. Closes #4490 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 4830a36 commit 1d8f3b3

3 files changed

Lines changed: 7 additions & 0 deletions

File tree

assets/apps/dashboard/src/utils/constants.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ export const NEVE_PLUGIN_ICON_MAP = {
6868
'wp-cloudflare-page-cache': LucideTimer,
6969
'feedzy-rss-feeds': LucideRss,
7070
'hyve-lite': LucideBotMessageSquare,
71+
'learning-management-system': LucideGraduationCap,
7172
// 'sparks'
7273
};
7374

inc/admin/dashboard/main.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -890,6 +890,10 @@ private function get_recommended_plugins() {
890890
'title' => 'Feedzy',
891891
'description' => __( 'RSS feeds aggregator and content curator', 'neve' ),
892892
],
893+
'learning-management-system' => [
894+
'title' => 'Masteriyo',
895+
'description' => __( 'LMS plugin to create and sell online courses', 'neve' ),
896+
],
893897
];
894898

895899
if ( is_php_version_compatible( '8.1' ) ) {

inc/admin/dashboard/plugin_helper.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ public function get_plugin_path( $slug ) {
5656
return $slug . '/wp-cloudflare-super-page-cache.php';
5757
case 'wp-full-stripe-free':
5858
return $slug . '/wp-full-stripe.php';
59+
case 'learning-management-system':
60+
return $slug . '/lms.php';
5961
default:
6062
return $slug . '/' . $slug . '.php';
6163
}

0 commit comments

Comments
 (0)