'notifications', 'name' => esc_html__('Notifications', 'daytidy'), ]; } public function on(): void { (new Notification())->init(); (new Seeder())->init(); (new Dispatcher())->init(); new Ajax\TestSend(); add_filter('DayTidy/F__DayTidy/Menus__all/menus', function ($menus) { $menus[] = new Notifications(); return $menus; }); } }