WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
событие не описано

begin_fetch_post_thumbnail_html хук-событие . 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_8722', 10, 3 );
function action_function_name_8722( $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).

Список изменений

С версии 2.9.0 Введена.

Где вызывается хук

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

Где используется хук в ядре WordPress

wp-includes/post-thumbnail-template.php 396
add_action( 'begin_fetch_post_thumbnail_html', '_wp_post_thumbnail_class_filter_add' );