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



post_thumbnail_size › WordPress Filter Hooks

Da4.9.0
Deprecaton/a
apply_filters( 'post_thumbnail_size', $size, $post->ID )
Parametri: (2)
  • (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).
    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 );