Make WordPress Core

Opened 10 months ago

Last modified 10 months ago

#41574 new enhancement

Add filter: wp_get_attachment_link_attributes

Reported by: NathanAtmoz Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Media Keywords: has-patch
Focuses: Cc:


Similar to wp_get_attachment_image_attributes, it would be nice to be able to filter the link attributes when getting the attachment link.

Attachments (2)

41574.1.diff (1.5 KB) - added by NathanAtmoz 10 months ago.
41574.2.diff (1.5 KB) - added by NathanAtmoz 10 months ago.
add missing >

Download all attachments as: .zip

Change History (3)

#1 @SergeyBiryukov
10 months ago

  • Component changed from General to Media
  • Keywords has-patch added

10 months ago

add missing >

Note: See TracTickets for help on using tickets.