Un motore di ricerca WordPress per sviluppatori e autori di temi



post_thumbnail_size ›

Da4.9.0
Deprecaton/a
apply_filters( 'post_thumbnail_size', $size, $post->ID )
Parametri: (2)
  • (string|array) $size The post thumbnail size. Image size or array of width and height values (in that order). Default 'post-thumbnail'.
    Richiesto:
  • (int) $post_id The post ID.
    Richiesto:
Definito a:
Codex:

Filters the post thumbnail size.





Sorgenti

$size = apply_filters( 'post_thumbnail_size', $size, $post->ID );