wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



begin_fetch_post_thumbnail_html › Les Actions WordPress

Depuis2.9.0
Dépréciéen/a
do_action( 'begin_fetch_post_thumbnail_html', $post->ID, $post_thumbnail_id, $size )
Paramètres: (3)
  • (int) $post_id The post ID.
    Requis: Oui
  • (int) $post_thumbnail_id The post thumbnail ID.
    Requis: Oui
  • (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).
    Requis: Oui
Défini(e) dans:
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 );