Procházet zdrojové kódy

Oh well, while we are adding hooks everywhere: a hook to allow expand the auto-suggest options

Signed-off-by: emanuele <emanuele45@gmail.com>
emanuele před 12 roky
rodič
revize
2935db0fa0
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2 0
      Sources/Subs-Editor.php

+ 2 - 0
Sources/Subs-Editor.php

@@ -2166,6 +2166,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);