From 6293d3717c32ca338c8e9d69b9eb70ed423b6ee5 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 7 Jan 2017 15:29:17 +0300 Subject: add toggle_sidebar plugin, remove obsolete toggle button add PluginHost::HOOK_MAIN_TOOLBAR_BUTTON --- index.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index 6b27d9042..220fe27c1 100644 --- a/index.php +++ b/index.php @@ -171,17 +171,18 @@
+ get_hooks(PluginHost::HOOK_MAIN_TOOLBAR_BUTTON) as $p) { + echo $p->hook_main_toolbar_button(); + } + ?> +
- -