diff --git a/classes/pluginhost.php b/classes/pluginhost.php index 675e0af17..82565257a 100644 --- a/classes/pluginhost.php +++ b/classes/pluginhost.php @@ -50,6 +50,7 @@ class PluginHost { const HOOK_RENDER_ENCLOSURE = 29; const HOOK_ARTICLE_FILTER_ACTION = 30; const HOOK_ARTICLE_EXPORT_FEED = 31; + const HOOK_MAIN_TOOLBAR_BUTTON = 32; const KIND_ALL = 1; const KIND_SYSTEM = 2; 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(); + } + ?> +
- -