Yoast\WP\SEO\Schema_Templates\Assets

Icons::heroicons_currency_dollar()public staticYoast 1.0

Устарела с версии 20.5. Больше не поддерживается и может быть удалена. Рекомендуется заменить эту функцию на аналог.

The Heroicons currency dollar svg icon.

Метод класса: Icons{}

Хуков нет.

Возвращает

Строку.

Использование

$result = Icons::heroicons_currency_dollar( $size );
$size(int)
The Height and Width of the SVG icon.
По умолчанию: self::SIZE_DEFAULT

Список изменений

Устарела с 20.5

Код Icons::heroicons_currency_dollar() Yoast 22.4

public static function heroicons_currency_dollar( $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='M12 8c-1.657 0-3 .895-3 2s1.343 2 3 2 3 .895 3 2-1.343 2-3 2m0-8c1.11 0 2.08.402 2.599 1M12 8V7m0 1v8m0 0v1m0-1c-1.11 0-2.08-.402-2.599-1M21 12a9 9 0 11-18 0 9 9 0 0118 0z' />",
		$size
	);
}