diff options
Diffstat (limited to 'support/doc/plugins/guide.md')
-rw-r--r-- | support/doc/plugins/guide.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/support/doc/plugins/guide.md b/support/doc/plugins/guide.md index db1f1863c..f4d3c4800 100644 --- a/support/doc/plugins/guide.md +++ b/support/doc/plugins/guide.md | |||
@@ -29,6 +29,7 @@ | |||
29 | - [Add custom fields to video form](#add-custom-fields-to-video-form) | 29 | - [Add custom fields to video form](#add-custom-fields-to-video-form) |
30 | - [Register settings script](#register-settings-script) | 30 | - [Register settings script](#register-settings-script) |
31 | - [HTML placeholder elements](#html-placeholder-elements) | 31 | - [HTML placeholder elements](#html-placeholder-elements) |
32 | - [Add/remove left menu links](#addremove-left-menu-links) | ||
32 | - [Publishing](#publishing) | 33 | - [Publishing](#publishing) |
33 | - [Write a plugin/theme](#write-a-plugintheme) | 34 | - [Write a plugin/theme](#write-a-plugintheme) |
34 | - [Clone the quickstart repository](#clone-the-quickstart-repository) | 35 | - [Clone the quickstart repository](#clone-the-quickstart-repository) |
@@ -744,6 +745,11 @@ async function register (...) { | |||
744 | 745 | ||
745 | See the complete list on https://docs.joinpeertube.org/api-plugins | 746 | See the complete list on https://docs.joinpeertube.org/api-plugins |
746 | 747 | ||
748 | #### Add/remove left menu links | ||
749 | |||
750 | Left menu links can be filtered (add/remove a section or add/remove links) using the `filter:left-menu.links.create.result` client hook. | ||
751 | |||
752 | |||
747 | ### Publishing | 753 | ### Publishing |
748 | 754 | ||
749 | PeerTube plugins and themes should be published on [NPM](https://www.npmjs.com/) so that PeerTube indexes | 755 | PeerTube plugins and themes should be published on [NPM](https://www.npmjs.com/) so that PeerTube indexes |