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



post_thumbnail_url › WordPress Filter Hooks

Da5.9.0
Deprecaton/a
› apply_filters( 'post_thumbnail_url', $thumbnail_url, $post, $size )
Parametri: (3)
  • () thumbnail_url Post thumbnail URL or false if the post does not exist.
    Richiesto: Sì
  • () post Post ID or WP_Post object. Default is global `$post`.
    Richiesto: Sì
  • () size Registered image size to retrieve the source for or a flat array of height and width dimensions. Default 'post-thumbnail'.
    Richiesto: Sì
Definito a:
Codex:

Filters the post thumbnail URL.





Sorgenti

return apply_filters( 'post_thumbnail_url', $thumbnail_url, $post, $size );