A WordPress-centric search engine for devs and theme authors



wp_get_attachment_thumb_file ›

Since2.1.0
Deprecatedn/a
apply_filters( 'wp_get_attachment_thumb_file', $thumbfile, $post->ID )
Parameters: (2)
  • (string) $thumbfile File path to the attachment thumbnail.
    Required: Yes
  • (int) $post_id Attachment ID.
    Required: Yes
Defined at:
Codex:

Filters the attachment thumbnail file path.





Source

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