aboutsummaryrefslogtreecommitdiff
path: root/vendors/kses/docs/hooks
diff options
context:
space:
mode:
Diffstat (limited to 'vendors/kses/docs/hooks')
-rw-r--r--vendors/kses/docs/hooks7
1 files changed, 7 insertions, 0 deletions
diff --git a/vendors/kses/docs/hooks b/vendors/kses/docs/hooks
new file mode 100644
index 000000000..971ff1ca4
--- /dev/null
+++ b/vendors/kses/docs/hooks
@@ -0,0 +1,7 @@
+kses hooks
+==========
+
+Sometimes you want to perform one more action on all data that kses will
+filter. There is a special function for that purpose called kses_hook(). kses
+calls it from its main function kses(), so if you insert some code in
+kses_hook(), it will always be called to change all data that kses sees.