apply_filters( 'attachment_link', string $link , int $post_id )
Filters the permalink for an attachment.
Parameters
- $link
-
The attachment's permalink.
- $post_id
-
Attachment ID.
Source
Changelog
Version | Description |
---|---|
WP-2.0.0 | Introduced. |