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



wp_get_attachment_thumb_url › WordPress过滤钩子

Since2.1.0
已弃用n/a
› apply_filters( 'wp_get_attachment_thumb_url', $thumbnail_url, $post_id )
参数: (2)
  • () thumbnail_url URL for the attachment thumbnail.
    Required: Yes
  • () post_id Attachment ID.
    Required: Yes
定义在:
文档:

Filters the attachment thumbnail URL.





源码

return apply_filters( 'wp_get_attachment_thumb_url', $thumbnail_url, $post_id );