From b3af2601da92a6c0835cb2473b4c7a41a0d86e98 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 20 Apr 2020 15:32:11 +0200 Subject: Add ability to remove privacies using plugins --- support/doc/plugins/guide.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'support/doc') 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 @@ - [Update video constants](#update-video-constants) - [Add custom routes](#add-custom-routes) - [Client helpers (themes & plugins)](#client-helpers-themes--plugins) - - [Plugin static route](#plugin-static-route) + - [Plugin static route](#plugin-static-route) + - [Notifier](#notifier) + - [Markdown Renderer](#markdown-renderer) + - [Custom Modal](#custom-modal) - [Translate](#translate) - [Get public settings](#get-public-settings) - [Publishing](#publishing) @@ -180,6 +183,9 @@ videoCategoryManager.deleteCategory(1) // Music videoLicenceManager.addLicence(42, 'Best licence') videoLicenceManager.deleteLicence(7) // Public domain + +videoPrivacyManager.deletePrivacy(2) // Remove Unlisted video privacy +playlistPrivacyManager.deletePlaylistPrivacy(3) // Remove Private video playlist privacy ``` #### Add custom routes -- cgit v1.2.3