A WordPress-centric search engine for devs and theme authors



wp_get_attachment_thumb_url ›

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

Filters the attachment thumbnail URL.





Source

return apply_filters( 'wp_get_attachment_thumb_url', $url, $post->ID );