IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
|
| 36 | 36 | if ( ! $post ) { |
| 37 | 37 | return ''; |
| 38 | 38 | } |
| 39 | | return get_post_meta( $post->ID, '_thumbnail_id', true ); |
| | 39 | |
| | 40 | /** |
| | 41 | * Filters the post thumbnail ID. |
| | 42 | * |
| | 43 | * @since 4.8.0 |
| | 44 | * |
| | 45 | * @param string $post_thumbnail_id The post thumbnail ID. |
| | 46 | * @param WP_Post $post The post object. |
| | 47 | */ |
| | 48 | return (int) apply_filters( 'post_thumbnail_id', get_post_meta( $post->ID, '_thumbnail_id', true ), $post ); |
| 40 | 49 | } |
| 41 | 50 | |
| 42 | 51 | /** |