wp/wp-includes/theme-compat/embed-content.php
changeset 19 3d72ae0968f4
parent 9 177826044cd9
equal deleted inserted replaced
18:be944660c56a 19:3d72ae0968f4
    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;