Yoast\WP\SEO\Schema_Templates\Assets
Icons::heroicons_identification()
Устарела с версии 20.5. Больше не поддерживается и может быть удалена. Рекомендуется заменить эту функцию на аналог.
The Heroicons identification svg icon.
Метод класса: Icons{}
Хуков нет.
Возвращает
Строку
.
Использование
$result = Icons::heroicons_identification( $size );
- $size(int)
- The Height and Width of the SVG icon.
По умолчанию: self::SIZE_DEFAULT
Список изменений
Устарела с | 20.5 |
Код Icons::heroicons_identification() Icons::heroicons identification Yoast 22.4
public static function heroicons_identification( $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='M10 6H5a2 2 0 00-2 2v9a2 2 0 002 2h14a2 2 0 002-2V8a2 2 0 00-2-2h-5m-4 0V5a2 2 0 114 0v1m-4 0a2 2 0 104 0m-5 8a2 2 0 100-4 2 2 0 000 4zm0 0c1.306 0 2.417.835 2.83 2M9 14a3.001 3.001 0 00-2.83 2M15 11h3m-3 4h2' />", $size ); }