WordPress.org

Make WordPress Core

Opened 3 months ago

Last modified 3 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:

Description

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 3 months ago.
41574.2.diff (1.5 KB) - added by NathanAtmoz 3 months ago.
add missing >

Download all attachments as: .zip

Change History (3)

@NathanAtmoz
3 months ago

#1 @SergeyBiryukov
3 months ago

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

@NathanAtmoz
3 months ago

add missing >

Note: See TracTickets for help on using tickets.