_wp_preview_post_thumbnail_filter


_wp_preview_post_thumbnail_filter ( $value, $post_id, $meta_key )

Access:
  • private
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:

Description

Filters post thumbnail lookup to set the post thumbnail.

Related Functions

_wp_post_thumbnail_class_filter, _wp_post_thumbnail_class_filter_add, _wp_preview_terms_filter, _wp_post_thumbnail_html, _wp_post_thumbnail_class_filter_remove

Top Google Results

User discussions

wpseek mobile