diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-08-21 14:05:47 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-08-21 14:05:47 +0000 |
commit | a8cb3827f1271bc30d7e2a5973340d0028d518bd (patch) | |
tree | 13c83453ddcd327fb5c165adaaae80e434db36e4 /engine/lib/elgglib.php | |
parent | 7ec6b6552694b0dd309a0d152bc8a38cd48dd0fe (diff) | |
download | elgg-a8cb3827f1271bc30d7e2a5973340d0028d518bd.tar.gz elgg-a8cb3827f1271bc30d7e2a5973340d0028d518bd.tar.bz2 |
Added plugin hook to elgg_view.
git-svn-id: https://code.elgg.org/elgg/trunk@2034 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/elgglib.php')
-rw-r--r-- | engine/lib/elgglib.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php index 84918d253..272dd08dc 100644 --- a/engine/lib/elgglib.php +++ b/engine/lib/elgglib.php @@ -255,7 +255,10 @@ }
// Save the output buffer into the $content variable - $content = ob_get_clean(); + $content = ob_get_clean();
+
+ // Plugin hook
+ $content = trigger_plugin_hook('display','view',array('view' => $view),$content); // Return $content
return $content;
|