Hero

Wow your readers with a great introduction to your articles

Last modified: September 12, 2023

link Block name

t2/hero

link PHP Filters

apply_filters( 't2/block/hero/image', string $image_wrapper, array $attributes )

Filter the image used for the hero image. Since 1.2.1

Parameter Type Description
$image_wrapper string The image wrapper.
$attributes array Block attributes.
apply_filters( 't2/block/hero/image/size', string $size, array $attributes )

Filter the image size used for the hero image. Since 3.0.0

Parameter Type Description
$size string Image size. Accepts any registered image size name, or an array of width and height values in pixels (in that order).
$attributes array Block attributes.

link Properties (t2.json)

link Style properties