Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/theme-compat/embed-content.php | apply_filters | 75 | /** * Filters the thumbnail shape for use in the embed template. * * Rectangular images are shown above the title while square images * are shown next to the content. * * @since 4.4.0 * @since 4.5.0 Added `$thumbnail_id` parameter. * * @param string $shape Thumbnail image shape. Either 'rectangular' or 'square'. * @param int $thumbnail_id Attachment ID. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
string | $shape | Thumbnail image shape. Either 'rectangular' or 'square'. |
int | $thumbnail_id | Attachment ID. |