Skip to main content
6 events
when toggle format what by license comment
Mar 25 at 14:39 comment added Tom J Nowell I've made my answer clearer with edits, if that answers your question consider marking it as the correct answer. If you want to ask how to insert information about the size and type of an attachment into your posts then you'll need to create a new question.
Mar 25 at 14:38 history edited Tom J Nowell CC BY-SA 4.0
added 18 characters in body
Mar 25 at 14:34 comment added Tom J Nowell No filter can be used to update links already saved to post content. You have to resave the content, you might have to re-insert the attachments too. If you have a second/follow up question you should ask that as a new question, this isn't a discussion thread so I'm only trying to answer the question you wrote originally.
Mar 25 at 13:06 comment added mardon Is better to use this filetr developer.wordpress.org/reference/hooks/attachment_link ?
Mar 25 at 12:33 comment added mardon And how I change the attachment link to have info about size and type?
Mar 25 at 12:27 history answered Tom J Nowell CC BY-SA 4.0