Summery Summery
Fires before fetching the post thumbnail HTML.
Syntax Syntax
Description Description
Provides "just in time" filtering of all filters in wp_get_attachment_image().
Parameters Parameters
- $post_id
-
The post ID.
- $post_thumbnail_id
-
The post thumbnail ID.
- $size
-
The post thumbnail size. Image size or array of width and height values (in that order). Default 'post-thumbnail'.
Source Source
Advertisement
Changelog Changelog
Version | Description |
---|---|
2.9.0 | Introduced. |