Permalink
Browse files

Merge pull request #103 from emanuele45/autosuggest_hook

Autosuggest hook
  • Loading branch information...
Jeremy D
Jeremy D committed Jul 31, 2012
2 parents 59e3a85 + 2935db0 commit 5278025e49a679220f37fd1f182a84b01116493e
Showing with 2 additions and 0 deletions.
  1. +2 −0 Sources/Subs-Editor.php
View
@@ -2164,6 +2164,8 @@ function AutoSuggestHandler($checkRegistered = null)
'versions' => 'SMFVersions',
);
+ call_integration_hook('integrate_autosuggest', array($searchTypes));
+
// If we're just checking the callback function is registered return true or false.
if ($checkRegistered != null)
return isset($searchTypes[$checkRegistered]) && function_exists('AutoSuggest_Search_' . $checkRegistered);

0 comments on commit 5278025

Please sign in to comment.