[wp-trac] [WordPress Trac] #41574: Add filter: wp_get_attachment_link_attributes
WordPress Trac
noreply at wordpress.org
Tue Feb 7 14:33:59 UTC 2023
#41574: Add filter: wp_get_attachment_link_attributes
-------------------------------------------------+-------------------------
Reporter: NathanAtmoz | Owner: audrasjb
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.2
Component: Media | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests commit | Focuses:
needs-dev-note |
-------------------------------------------------+-------------------------
Changes (by audrasjb):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"55262" 55262]:
{{{
#!CommitTicketReference repository="" revision="55262"
Media: Introduce `wp_get_attachment_link_attributes` filter.
This changeset introduces the `wp_get_attachment_link_attributes` hook to
allow developers to filter the link attributes when getting the attachment
link.
Props NathanAtmoz, aaroncampbell, antpb, costdev.
Fixes #41574.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41574#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list