mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-03 09:49:20 +02:00
Add ability to filter menu links
This commit is contained in:
parent
9cc4b9c61f
commit
8beea2d37d
7 changed files with 135 additions and 100 deletions
|
@ -29,6 +29,7 @@
|
|||
- [Add custom fields to video form](#add-custom-fields-to-video-form)
|
||||
- [Register settings script](#register-settings-script)
|
||||
- [HTML placeholder elements](#html-placeholder-elements)
|
||||
- [Add/remove left menu links](#addremove-left-menu-links)
|
||||
- [Publishing](#publishing)
|
||||
- [Write a plugin/theme](#write-a-plugintheme)
|
||||
- [Clone the quickstart repository](#clone-the-quickstart-repository)
|
||||
|
@ -744,6 +745,11 @@ async function register (...) {
|
|||
|
||||
See the complete list on https://docs.joinpeertube.org/api-plugins
|
||||
|
||||
#### Add/remove left menu links
|
||||
|
||||
Left menu links can be filtered (add/remove a section or add/remove links) using the `filter:left-menu.links.create.result` client hook.
|
||||
|
||||
|
||||
### Publishing
|
||||
|
||||
PeerTube plugins and themes should be published on [NPM](https://www.npmjs.com/) so that PeerTube indexes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue