get_attached_file

最后更新于:2021-11-26 10:53:25

apply_filters( ‘get_attached_file’, string|false $file, int $attachment_id )

Filters the attached file based on the given ID.

参数

$file

(string|false)
The file path to where the attached file should be, false otherwise.

$attachment_id

(int)
Attachment ID.

源文件

文件: gc-includes/post.php

View on Trac