From a8cb3827f1271bc30d7e2a5973340d0028d518bd Mon Sep 17 00:00:00 2001 From: ben Date: Thu, 21 Aug 2008 14:05:47 +0000 Subject: Added plugin hook to elgg_view. git-svn-id: https://code.elgg.org/elgg/trunk@2034 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/elgglib.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'engine/lib/elgglib.php') 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; -- cgit v1.2.3