]> git.mxchange.org Git - friendica.git/blobdiff - doc/Plugins.md
Fix template_var hook
[friendica.git] / doc / Plugins.md
index 62d06f1c5683f8743b2c90f29aded0bbef11b8d0..24d403e1f6f57514070fbc528a0bc81fd4bfc4e7 100644 (file)
@@ -274,7 +274,11 @@ $b is an array containing $nav from nav.php.
 ###'template_vars'
 is called before vars are passed to the template engine to render the page.
 The registered function can add,change or remove variables passed to template.
-$b is the array of vars pased to 'replace_macros()' function.
+$b is an array with:
+
+    'template' => filename of template
+    'vars' => array of vars passed to template
+
 
 
 Complete list of hook callbacks