Yoast\WP\SEO\Schema_Templates\Assets
Icons::heroicons_globe()
Устарела с версии 20.5. Больше не поддерживается и может быть удалена. Рекомендуется заменить эту функцию на аналог.
The Heroicons globe svg icon.
Метод класса: Icons{}
Хуков нет.
Возвращает
Строку
.
Использование
$result = Icons::heroicons_globe( $size );
- $size(int)
- The Height and Width of the SVG icon.
По умолчанию: self::SIZE_DEFAULT
Список изменений
Устарела с | 20.5 |
Код Icons::heroicons_globe() Icons::heroicons globe Yoast 22.4
public static function heroicons_globe( $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='M3.055 11H5a2 2 0 012 2v1a2 2 0 002 2 2 2 0 012 2v2.945M8 3.935V5.5A2.5 2.5 0 0010.5 8h.5a2 2 0 012 2 2 2 0 104 0 2 2 0 012-2h1.064M15 20.488V18a2 2 0 012-2h3.064M21 12a9 9 0 11-18 0 9 9 0 0118 0z' />", $size ); }