Fires before fetching the post thumbnail HTML.
Provides "just in time" filtering of all filters in wp_get_attachment_image() .
$post_idint
$post_thumbnail_idint
$sizestring|int[]
do_action( 'begin_fetch_post_thumbnail_html', $post->ID, $post_thumbnail_id, $size );
| Version | Description |
|---|---|
| 2.9.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/begin_fetch_post_thumbnail_html