I would like to be able to remove a custom post type AND add attached media (PDF's, Images, Docs, etc) to the "Link to existing content" in the Add / Edit link popup in the WYSIWYG editor.
Essentially, I've created a custom content type, but have way to many with the same name. So, I'd like those removed from the search results.
In addition, I have a bunch of PDF's I've uploaded and would like to easily be able to link to those.
Anyone ever accomplished this, know a plugin or have the hook to modify it?