_wp_preview_post_thumbnail_filter
- %1$s is private and should not be used in themes or plugins directly.
_wp_preview_post_thumbnail_filter ( $value, $post_id, $meta_key )
Access:Parameters:- (null|array|string) value The value to return - a single metadata value, or an array of values.
- (int) post_id Post ID.
- (string) meta_key Meta key.
Returns:- (null|array) The default return value or the post thumbnail meta array.
Defined at: - Introduced in WordPress: 4.6.0
- Deprecated in WordPress: —
Description
Filters post thumbnail lookup to set the post thumbnail.