In this article

filter

get_attachment

Filters the Post Thumbnail information returned for a specific post.

Parameters

$post['extra']['post_thumbnail']
array

{ Array of details about the Post Thumbnail.

ID
int

ID Post Thumbnail ID.

URL
string

URL Post thumbnail URL.

guid
string

guid Post thumbnail guid.

mime_type
string

mime_type Post thumbnail mime type.

width
int

width Post thumbnail width.

height
int

height Post thumbnail height. }

Changelog

How to use this hook

See “How to use actions and filters to customize Jetpack”.