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



post_thumbnail_id › Filtr WordPress Hooks

Od5.9.0
Przestarzałyn/a
apply_filters( 'post_thumbnail_id', $thumbnail_id, $post )
Parametry: (2)
  • (int|false) $thumbnail_id Post thumbnail ID 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
Zdefiniowane na:
Codex:

Filters the post thumbnail ID.





Źródło

return (int) apply_filters( 'post_thumbnail_id', $thumbnail_id, $post );