How to set up a hidden column to be searchable in advanced search?

Solution:

$dg -> set_col_property("<HIDDEN COLUMN NAME>", array("searchoptions"=> array("searchhidden" => true)));

Note the boolean MUST NOT have double quotes.

Feedback and Knowledge Base