_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_preview_meta_filter, _wp_preview_terms_filter, _wp_post_thumbnail_html, preview_theme_ob_filter, set_post_thumbnail_size

Top Google Results

User discussions

wpseek mobile