A WordPress-centric search engine for devs and theme authors



begin_fetch_post_thumbnail_html ›

Since2.9.0
Deprecatedn/a
do_action( 'begin_fetch_post_thumbnail_html', $post->ID, $post_thumbnail_id, $size )
Parameters: (3)
  • (int) $post_id The post ID.
    Required: Yes
  • (string) $post_thumbnail_id The post thumbnail ID.
    Required: Yes
  • (string|array) $size The post thumbnail size. Image size or array of width and height values (in that order). Default 'post-thumbnail'.
    Required: Yes
Defined at:
Codex:

Fires before fetching the post thumbnail HTML.

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





Source

do_action( 'begin_fetch_post_thumbnail_html', $post->ID, $post_thumbnail_id, $size );