equal
deleted
inserted
replaced
25 /** |
25 /** |
26 * Filters the thumbnail image ID for use in the embed template. |
26 * Filters the thumbnail image ID for use in the embed template. |
27 * |
27 * |
28 * @since 4.9.0 |
28 * @since 4.9.0 |
29 * |
29 * |
30 * @param int $thumbnail_id Attachment ID. |
30 * @param int|false $thumbnail_id Attachment ID, or false if there is none. |
31 */ |
31 */ |
32 $thumbnail_id = apply_filters( 'embed_thumbnail_id', $thumbnail_id ); |
32 $thumbnail_id = apply_filters( 'embed_thumbnail_id', $thumbnail_id ); |
33 |
33 |
34 if ( $thumbnail_id ) { |
34 if ( $thumbnail_id ) { |
35 $aspect_ratio = 1; |
35 $aspect_ratio = 1; |