I have built a module so that I can display PDFs with phpwkhtmltopdf. I am currently calling my view data using:
$view = views_get_view_result('course_catalog');
My question is, is there a way to have filter my exposed filters with this function? If not, what is the best way to go about this? --I suppose I could manually filter through the results with PHP, but that hardly seems efficient.