wpseek.com
A WordPress-centric search engine for devs and theme authors



begin_fetch_post_thumbnail_html › WordPress Action Hooks

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
  • (int) $post_thumbnail_id The post thumbnail ID.
    Required: Yes
  • (string|int[]) $size Requested image size. Can be any registered image size name, or an array of width and height values in pixels (in that order).
    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 );