templates/dashboard/sections/notifications.php
@@ -1,4 +1,7 @@ <?php use JVBase\managers\NotificationManager; if (!defined('ABSPATH')) { exit; // Exit if accessed directly } @@ -11,7 +14,7 @@ true ); $handler = JVB()->notification(); $handler = NotificationManager::getInstance(); $user = wp_get_current_user(); $role = array_values($user->roles)[0];