I am trying to include the new WP Media Uploader in a Custom Meta Box.
I found this tutorial:
However i am looking for a way to limit the uploader to only accept certain types of files like 'application/msword', 'application/vnd.ms-excel', 'application/pdf', etc. and to return the linked document url to a text field i have in the metabox
I have searched google now for countless hours but could not find anything useful...
Any ideas, links or just basically anything to point me in the right direction would be highly appreciated!