wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



post_thumbnail_url › Filtr WordPress Hooks

Od5.9.0
Przestarzałyn/a
apply_filters( 'post_thumbnail_url', $thumbnail_url, $post, $size )
Parametry: (3)
  • (string|false) $thumbnail_url Post thumbnail URL or false if the post does not exist.
    Wymagane: Tak
  • (int|WP_Post|null) $post Post ID or WP_Post object. Default is global `$post`.
    Wymagane: Tak
  • (string|int[]) $size Registered image size to retrieve the source for or a flat array of height and width dimensions. Default 'post-thumbnail'.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the post thumbnail URL.





Źródło

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