aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/includes/functions_display.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/phpBB/includes/functions_display.php b/phpBB/includes/functions_display.php
index 5592aa89ba..f2d76cfd73 100644
--- a/phpBB/includes/functions_display.php
+++ b/phpBB/includes/functions_display.php
@@ -932,6 +932,17 @@ function display_custom_bbcodes()
FROM ' . BBCODES_TABLE . '
WHERE display_on_posting = 1
ORDER BY bbcode_tag';
+
+ /**
+ * Modify the SQL statement retrieving the custom bbcodes
+ *
+ * @event core.display_custom_bbcodes_modify_sql
+ * @var string sql SQL SELECT statement
+ * @since 3.1-A3
+ */
+ $vars = array('sql');
+ extract($phpbb_dispatcher->trigger_event('core.display_custom_bbcodes_modify_sql', compact($vars)));
+
$result = $db->sql_query($sql);
$i = 0;