mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-01-02 07:29:15 +00:00
Add hook to add explanations of hotkey actions via plugins.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user