attachment_link

最后更新于:2021-11-25 20:32:06

apply_filters( ‘attachment_link’, string $link, int $post_id )

Filters the permalink for an attachment.

参数

$link

(string)
The attachment’s permalink.

$post_id

(int)
Attachment ID.

源文件

文件: gc-includes/link-template.php

View on Trac