From 1db606bc1b6cf25d9b9c4bef362acdb964ce1e8a Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Wed, 5 Jul 2023 11:00:26 +0200 Subject: New extension hook entry_auto_read (#5505) * New extension hook entry_auto_read For extensions to be notified of articles being automatically marked as read for various reasons * Documentation + entry_auto_unread --- lib/Minz/ExtensionManager.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lib/Minz') diff --git a/lib/Minz/ExtensionManager.php b/lib/Minz/ExtensionManager.php index 9ba7028d3..4fc62f254 100644 --- a/lib/Minz/ExtensionManager.php +++ b/lib/Minz/ExtensionManager.php @@ -26,6 +26,14 @@ final class Minz_ExtensionManager { 'list' => array(), 'signature' => 'OneToOne', ), + 'entry_auto_read' => array( // function(FreshRSS_Entry $entry, string $why): void + 'list' => array(), + 'signature' => 'PassArguments', + ), + 'entry_auto_unread' => array( // function(FreshRSS_Entry $entry, string $why): void + 'list' => array(), + 'signature' => 'PassArguments', + ), 'entry_before_display' => array( // function($entry) -> Entry | null 'list' => array(), 'signature' => 'OneToOne', -- cgit v1.2.3