过滤附件缩略图文件路径。
原型
apply_filters( 'wp_get_attachment_thumb_file', string $thumbfile, int $post_id )
参数
$thumbfile
(string)
附件缩略图的文件路径。
$post_id
(int)
附件ID。
源文件
路径:wp-includes/post.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/wp_get_attachment_thumb_file/