embed_thumbnail_image_shape

最后更新于:2021-11-26 09:13:25

apply_filters( ’embed_thumbnail_image_shape’, string $shape, int $thumbnail_id )

Filters the thumbnail shape for use in the embed template.

参数

$shape

(string)
Thumbnail image shape. Either ‘rectangular’ or ‘square’.

$thumbnail_id

(int)
Attachment ID.

源文件

文件: gc-includes/theme-compat/embed-content.php

View on Trac