wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



begin_fetch_post_thumbnail_html › Działania WordPress Hooks

Od2.9.0
Przestarzałyn/a
do_action( 'begin_fetch_post_thumbnail_html', $post->ID, $post_thumbnail_id, $size )
Parametry: (3)
  • (int) $post_id The post ID.
    Wymagane: Tak
  • (int) $post_thumbnail_id The post thumbnail ID.
    Wymagane: Tak
  • (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).
    Wymagane: Tak
Zdefiniowane na:
Codex:

Fires before fetching the post thumbnail HTML.

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





Źródło

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