summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Andersson <[email protected]>2013-04-02 09:05:17 +0200
committerDaniel Andersson <[email protected]>2013-04-02 09:05:17 +0200
commit4785420034aefcc9900c4646ce528676313f1a02 (patch)
tree9d1646daf5adeed6a3d70e57c41b0ca81dd16e82 /include
parentffd0786416271a00638c8becc2974d96221ec642 (diff)
Add hook to add explanations of hotkey actions via plugins.
Diffstat (limited to 'include')
-rw-r--r--include/functions.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/functions.php b/include/functions.php
index c04e6a81a..aea7618a8 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -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;
}