From df763eb8b34b9823511d93ec078d4644d3e6ff64 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Mon, 14 Oct 2024 09:35:41 +0200 Subject: Add hook entries_favorite (#6880) Called when entries are starred or unstarred --- docs/fr/developers/03_Backend/05_Extensions.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs') diff --git a/docs/fr/developers/03_Backend/05_Extensions.md b/docs/fr/developers/03_Backend/05_Extensions.md index 61d0589ef..8d2866f26 100644 --- a/docs/fr/developers/03_Backend/05_Extensions.md +++ b/docs/fr/developers/03_Backend/05_Extensions.md @@ -233,6 +233,8 @@ The following events are available: executed when a feed is refreshed and new entries will be imported into the database. The new entry (instance of FreshRSS\_Entry) will be passed as parameter. +* `entries_favorite` (`function(array $ids, bool $is_favorite): void`): + will be executed when some entries are marked or unmarked as favorites (starred) * `feed_before_actualize` (`function($feed) -> Feed | null`): will be executed when a feed is updated. The feed (instance of FreshRSS\_Feed) will be passed as parameter. -- cgit v1.2.3