How can I print a views exposed form into a custom block? I have a page view with exposed filters and would like to print said filters into a custom block in order to add extra html markup above the actual form.  This block will be used on other pages using Context.

I know I can create a block by setting 'exposed filters in block' to yes, however that's not the solution I am looking for.
Hours and hours of searching and nothing was working.  Several minutes after posting this question, I figured it out.  The following code can be used in template files or blocks.

&lt;?php
  $block = module_invoke('views', 'block_view', '-exp-VIEW_NAME-DISPLAY_NAME');
  print render($block['content']);
?&gt;