FAQ - Hook: php_search

Hook: php_search

3600


Use this hook to execute PHP code in the search.php file.

For example:

if ($SearchInput) { echo "Your search term: ".$SearchInput; }

if you like to include a file:

APP_PATH.'plugins/yourplugin/file_to_include.php';