apply_filters( 'wp_get_attachment_link_attributes', array $attributes , int $id )
Filters the list of attachment link attributes.
Parameters
- $attributes
-
An array of attributes for the link markup, keyed on the attribute name.
- $id
-
Post ID.
Source
Changelog
| Version | Description |
|---|---|
| 6.2.0 | Introduced. |