apply_filters( 'attachment_link', string $link, int $post_id )

Filters the permalink for an attachment.


Description Description


Parameters Parameters

$link

(string) The attachment's permalink.

$post_id

(int) Attachment ID.


Top ↑

Source Source

File: wp-includes/link-template.php

View on Trac


Top ↑

Changelog Changelog

Changelog
Version Description
2.0.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.