wpseek.com
WordPress开发者和主题制作者的搜索引擎



wp_get_attachment_thumb_file › WordPress过滤钩子

Since2.1.0
已弃用n/a
› apply_filters( 'wp_get_attachment_thumb_file', $thumbfile, $post->ID )
参数: (2)
  • () thumbfile File path to the attachment thumbnail.
    Required: Yes
  • () post_id Attachment ID.
    Required: Yes
定义在:
文档:

Filters the attachment thumbnail file path.





源码

return apply_filters( 'wp_get_attachment_thumb_file', $thumbfile, $post->ID );