When I’m editing a post with several images or media files attached, I sometimes like to see all the attachments on the post edit screen rather than visiting the Media Library. This snippet adds a metabox that displays a list of the attachments with links to the Edit Media admin page for each. It works in Classic or Block editor.

Leave a Reply