summaryrefslogtreecommitdiff
path: root/inc/config.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/config.php')
-rw-r--r--inc/config.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/inc/config.php b/inc/config.php
index ae0a36c5..afc4ceaa 100644
--- a/inc/config.php
+++ b/inc/config.php
@@ -956,6 +956,23 @@
/*
* ====================
+ * Events (PHP 5.3.0+)
+ * ====================
+ */
+
+ // event_handler('post', function($post) {
+ // // do something
+ // });
+
+ // event_handler('post', function($post) {
+ // // do something else
+ //
+ // // return an error (reject post)
+ // return 'Sorry, you cannot post that!';
+ // });
+
+/*
+ * ====================
* Other/uncategorized
* ====================
*/