dispatch_hooks(); } public function dispatch_hooks() { ( new Course() )->dispatch_actions(); ( new Lesson() )->dispatch_actions(); ( new Tools() )->dispatch_actions(); ( new Instructor() )->dispatch_actions(); ( new Registration() )->dispatch_actions(); ( new Student() )->dispatch_actions(); ( new Miscellaneous() )->dispatch_actions(); ( new Settings() )->dispatch_actions(); ( new MigrationAjax() )->dispatch_actions(); ( new PluginDownloader() )->dispatch_actions(); ( new AttachmentDownload() )->dispatch_actions(); } }