From c8dd900635a89d04398e89b3a2f7ec0dc01907f2 Mon Sep 17 00:00:00 2001 From: Art4 Date: Sat, 8 Feb 2025 07:01:54 +0000 Subject: [PATCH] Add deprecation note in docs --- doc/StrategyHooks.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/StrategyHooks.md b/doc/StrategyHooks.md index 2960ceeaad..440728783c 100644 --- a/doc/StrategyHooks.md +++ b/doc/StrategyHooks.md @@ -83,6 +83,8 @@ return [ ## Addons +> ⚠️ Since Friendica 2025.02 the strategy hooks for addons are deprecated, please use PHP hooks instead. + The hook logic is useful for decoupling the Friendica core logic, but its primary goal is to modularize Friendica in creating addons. Therefor you can either use the interfaces directly as shown above, or you can place your own `hooks.config.php` file inside a `static` directory directly under your addon core directory.