]> git.wh0rd.org - tt-rss.git/blobdiff - include/functions.php
Merge pull request #119 from dandersson/hotkey_info_hook
[tt-rss.git] / include / functions.php
index 9c58f807aa1b391818f2c9074d76cad56fd971fd..f273e2f80245f9adce87445eb4339059d9e0aac7 100644 (file)
                                "help_dialog" => __("Show help dialog"))
                        );
 
+               global $pluginhost;
+               foreach ($pluginhost->get_hooks($pluginhost::HOOK_HOTKEY_INFO) as $plugin) {
+                       $hotkeys = $plugin->hook_hotkey_info($hotkeys);
+               }
+
                return $hotkeys;
        }