wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



begin_fetch_post_thumbnail_html › WordPress Action Hooks

Seit2.9.0
Veraltetn/v
do_action( 'begin_fetch_post_thumbnail_html', $post->ID, $post_thumbnail_id, $size )
Parameter: (3)
  • (int) $post_id The post ID.
    Erforderlich: Ja
  • (int) $post_thumbnail_id The post thumbnail ID.
    Erforderlich: Ja
  • (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).
    Erforderlich: Ja
Definiert in:
Codex:

Fires before fetching the post thumbnail HTML.

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





Quellcode

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