Summery Summery
Filters the thumbnail shape for use in the embed template.
Syntax Syntax
Description Description
Rectangular images are shown above the title while square images are shown next to the content.
Parameters Parameters
- $shape
-
Thumbnail image shape. Either 'rectangular' or 'square'.
- $thumbnail_id
-
Attachment ID.
Source Source
Advertisement
Changelog Changelog
Version | Description |
---|---|
4.5.0 | Added $thumbnail_id parameter. |
4.4.0 | Introduced. |