1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 23:05:56 +00:00

Merge pull request #119 from dandersson/hotkey_info_hook

Hook to add hotkey definition texts via plugins
This commit is contained in:
Andrew Dolgov
2013-04-02 05:57:39 -07:00
2 changed files with 6 additions and 0 deletions

View File

@@ -1934,6 +1934,11 @@
"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;
}