Yoast\WP\SEO\Schema_Templates\Assets
Icons::heroicons_annotation()
Устарела с версии 20.5. Больше не поддерживается и может быть удалена. Рекомендуется заменить эту функцию на аналог.
The Heroicons annotation svg icon.
Метод класса: Icons{}
Хуков нет.
Возвращает
Строку
.
Использование
$result = Icons::heroicons_annotation( $size );
- $size(int)
- The Height and Width of the SVG icon.
По умолчанию: self::SIZE_DEFAULT
Список изменений
Устарела с | 20.5 |
Код Icons::heroicons_annotation() Icons::heroicons annotation Yoast 22.3
public static function heroicons_annotation( $size = self::SIZE_DEFAULT ) { \_deprecated_function( __METHOD__, 'Yoast SEO 20.5' ); return self::svg( "<path stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M7 8h10M7 12h4m1 8l-4-4H5a2 2 0 01-2-2V6a2 2 0 012-2h14a2 2 0 012 2v8a2 2 0 01-2 2h-3l-4 4z' />", $size ); }