How can I get rid of the attachment URLs completely?
I don't want users to have the ability to link an image to the Attachment URL when inserting an image, ever.
I've done things in the past like redirect back to the attachment's parent ID and could even alter it to redirect to the full size file URL but I'd rather get rid of having a permalink for attachments all together.
Does anyone know of a way to disable this via the functions.php file?