]> git.mxchange.org Git - friendica.git/commitdiff
Add deprecation note in docs
authorArt4 <art4@wlabs.de>
Sat, 8 Feb 2025 07:01:54 +0000 (07:01 +0000)
committerArt4 <art4@wlabs.de>
Sat, 8 Feb 2025 07:01:54 +0000 (07:01 +0000)
doc/StrategyHooks.md

index 2960ceeaad65498a2a8b9c866cfa6f372cb28434..440728783c36a904abcb81e2edf9899798b61bc5 100644 (file)
@@ -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.