Un motore di ricerca WordPress per sviluppatori e autori di temi



post_thumbnail_html ›

Da2.9.0
Deprecaton/a
apply_filters( 'post_thumbnail_html', $html, $post->ID, $post_thumbnail_id, $size, $attr )
Parametri: (5)
  • (string) $html The post thumbnail HTML.
    Richiesto:
  • (int) $post_id The post ID.
    Richiesto:
  • (string) $post_thumbnail_id The post thumbnail ID.
    Richiesto:
  • (string|array) $size The post thumbnail size. Image size or array of width and height values (in that order). Default 'post-thumbnail'.
    Richiesto:
  • (string) $attr Query string of attributes.
    Richiesto:
Definito a:
Codex:

Filters the post thumbnail HTML.





Sorgenti

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