host = $host; $host->add_hook($host::HOOK_QUERY_HEADLINES, $this); } // passes in the array for an item // second argument is the length of the preview the caller is using // create a key called "modified_preview" if you change the preview and don't want // caller to override with their default function hook_query_headlines($line, $preview_length = 100,$api_call=false) { //make the author field empty $line["author"] = ""; // and toss tags, since I don't use $line["tag_cache"] = ""; return $line; } function api_version() { return 2; } } ?>