wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_get_attachment_thumb_url › WordPress Filter Hooks

Since2.1.0
Deprecatedn/a
apply_filters( 'wp_get_attachment_thumb_url', $thumbnail_url, $post_id )
Parameters: (2)
  • () thumbnail_url URL for the attachment thumbnail.
    Required: Yes
  • () post_id Attachment ID.
    Required: Yes
Defined at:
Codex:

Filters the attachment thumbnail URL.





Source

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