]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/plugins/write.mdwn
* Add a destpage parameter to the filter hook.
[ikiwiki.git] / doc / plugins / write.mdwn
index 9d85d4a9f04d602ee1a61994ca54468dd06d2999..6593ab018573db50e7f275263e12ba3a824312f9 100644 (file)
@@ -76,8 +76,8 @@ adding or removing files from it.
        hook(type => "filter", id => "foo", call => \&filter);
 
 Runs on the raw source of a page, before anything else touches it, and can
-make arbitrary changes. The function is passed named parameters `page` and
-`content` and should return the filtered content.
+make arbitrary changes. The function is passed named parameters "page",
+"destpage", and "content". It should return the filtered content.
 
 ### preprocess