Yoast\WP\SEO\Schema_Templates\Assets
Icons::heroicons_calendar()
The Heroicons calendar svg icon.
Метод класса: Icons{}
Хуков нет.
Возвращает
Строку
.
Использование
$result = Icons::heroicons_calendar( $size );
- $size(int)
- The Height and Width of the SVG icon.
По умолчанию: self::SIZE_DEFAULT
Код Icons::heroicons_calendar() Icons::heroicons calendar Yoast 20.0
public static function heroicons_calendar( $size = self::SIZE_DEFAULT ) { return self::svg( "<path stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z' />", $size ); }