I'm wondering if it's possible to pass in a variable by ref into the search function in search.php from a plugin. I noticed that $opts[] allows for passing in more info, but I'd like to update that info in a function in my plugin. I'm trying to add some state info as I'm parsing through the tree of pages. Am I better off just using a global variable? Thanks...martin