aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc/plugins/guide.md
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-04-20 15:32:11 +0200
committerChocobozzz <me@florianbigard.com>2020-04-20 15:42:27 +0200
commitb3af2601da92a6c0835cb2473b4c7a41a0d86e98 (patch)
treea20984ec2df1c22f235d03909177629892721c54 /support/doc/plugins/guide.md
parent8c7725dc3c01a73bf56a48c8b192d144bfdc3ffe (diff)
downloadPeerTube-b3af2601da92a6c0835cb2473b4c7a41a0d86e98.tar.gz
PeerTube-b3af2601da92a6c0835cb2473b4c7a41a0d86e98.tar.zst
PeerTube-b3af2601da92a6c0835cb2473b4c7a41a0d86e98.zip
Add ability to remove privacies using plugins
Diffstat (limited to 'support/doc/plugins/guide.md')
-rw-r--r--support/doc/plugins/guide.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/support/doc/plugins/guide.md b/support/doc/plugins/guide.md
index 1bee1f611..fdad63087 100644
--- a/support/doc/plugins/guide.md
+++ b/support/doc/plugins/guide.md
@@ -14,7 +14,10 @@
14 - [Update video constants](#update-video-constants) 14 - [Update video constants](#update-video-constants)
15 - [Add custom routes](#add-custom-routes) 15 - [Add custom routes](#add-custom-routes)
16 - [Client helpers (themes & plugins)](#client-helpers-themes--plugins) 16 - [Client helpers (themes & plugins)](#client-helpers-themes--plugins)
17 - [Plugin static route](#plugin-static-route) 17 - [Plugin static route](#plugin-static-route)
18 - [Notifier](#notifier)
19 - [Markdown Renderer](#markdown-renderer)
20 - [Custom Modal](#custom-modal)
18 - [Translate](#translate) 21 - [Translate](#translate)
19 - [Get public settings](#get-public-settings) 22 - [Get public settings](#get-public-settings)
20 - [Publishing](#publishing) 23 - [Publishing](#publishing)
@@ -180,6 +183,9 @@ videoCategoryManager.deleteCategory(1) // Music
180 183
181videoLicenceManager.addLicence(42, 'Best licence') 184videoLicenceManager.addLicence(42, 'Best licence')
182videoLicenceManager.deleteLicence(7) // Public domain 185videoLicenceManager.deleteLicence(7) // Public domain
186
187videoPrivacyManager.deletePrivacy(2) // Remove Unlisted video privacy
188playlistPrivacyManager.deletePlaylistPrivacy(3) // Remove Private video playlist privacy
183``` 189```
184 190
185#### Add custom routes 191#### Add custom routes