wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



post_thumbnail_html › WordPress Filter Hooks

Da2.9.0
Deprecaton/a
› apply_filters( 'post_thumbnail_html', $html, $post->ID, $post_thumbnail_id, $size, $attr )
Parametri: (5)
  • () html The post thumbnail HTML.
    Richiesto: Sì
  • () post_id The post ID.
    Richiesto: Sì
  • () post_thumbnail_id The post thumbnail ID, or 0 if there isn't one.
    Richiesto: Sì
  • () size Requested image size. Can be any registered image size name, or an array of width and height values in pixels (in that order).
    Richiesto: Sì
  • () attr Query string or array of attributes.
    Richiesto: Sì
Definito a:
Codex:

Filters the post thumbnail HTML.





Sorgenti

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