From 4d86a199f0d10a49d0d0cc4da7f19b6d4bde1ba6 Mon Sep 17 00:00:00 2001 From: "M.Dent" Date: Thu, 11 Oct 2018 02:46:00 +0000 Subject: Add wiki_preprocess hook and documentation (cherry picked from commit bad4ea6e65a45ac2523a9a7c2ec624ad2535b652) --- doc/hook/wiki_preprocess.bb | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 doc/hook/wiki_preprocess.bb (limited to 'doc/hook/wiki_preprocess.bb') diff --git a/doc/hook/wiki_preprocess.bb b/doc/hook/wiki_preprocess.bb new file mode 100644 index 000000000..913b601ba --- /dev/null +++ b/doc/hook/wiki_preprocess.bb @@ -0,0 +1,11 @@ +[h3]wiki_preprocess[/h3] + +Called before markdown/bbcode processors are run for wiki pages + +Passed parameter array: + + 'content' => wiki page content + 'mimetype' => page mimetype + + +see: Zotlabs/Module/Wiki.php -- cgit v1.2.3