WordPress at Your Fingertips
action is not described

begin_fetch_post_thumbnail_html action-hook . WP 2.9.0

Fires before fetching the post thumbnail HTML.

Provides "just in time" filtering of all filters in wp_get_attachment_image().


add_action( 'begin_fetch_post_thumbnail_html', 'action_function_name_9114', 10, 3 );
function action_function_name_9114( $post_id, $post_thumbnail_id, $size ){
	// action...
The post ID.
The post thumbnail ID.
Requested image size. Can be any registered image size name, or an array of width and height values in pixels (in that order).


Since 2.9.0 Introduced.

Where the hook is called

wp-includes/post-thumbnail-template.php 173
do_action( 'begin_fetch_post_thumbnail_html', $post->ID, $post_thumbnail_id, $size );

Where in WP core the hook is used WordPress

wp-includes/default-filters.php 435
add_action( 'begin_fetch_post_thumbnail_html', '_wp_post_thumbnail_class_filter_add' );