diff --git a/docs.sgml b/docs.sgml
index e6bf838d..eaf6e6d4 100644
--- a/docs.sgml
+++ b/docs.sgml
@@ -3149,6 +3149,13 @@ OUTPUT:
function. Anything that the function returns gets displayed
in place of the tag in the template.
+
+ Since version 1.4.0, custom functions are also passed Smarty object
+ as the second parameter. If the custom function declares the second
+ parameter passed by reference, it can then use Smarty object's
+ variable assignment and clearing functions to manipulate template
+ variables dynamically.
+
You can also add custom functions programatically with the register_function API.