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



post_thumbnail_html › Filtr WordPress Hooks

Od2.9.0
Przestarzałyn/a
› apply_filters( 'post_thumbnail_html', $html, $post->ID, $post_thumbnail_id, $size, $attr )
Parametry: (5)
  • () html The post thumbnail HTML.
    Wymagane: Tak
  • () post_id The post ID.
    Wymagane: Tak
  • () post_thumbnail_id The post thumbnail ID, or 0 if there isn't one.
    Wymagane: Tak
  • () 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
  • () attr Query string or array of attributes.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the post thumbnail HTML.





Źródło

return apply_filters( 'post_thumbnail_html', $html, $post->ID, $post_thumbnail_id, $size, $attr );