Hook: php_search

1062

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';