Yoast\WP\SEO\Schema_Templates\Assets
Icons::heroicons_book_open()
Устарела с версии 20.5. Больше не поддерживается и может быть удалена. Рекомендуется заменить эту функцию на аналог.
The Heroicons book open svg icon.
Метод класса: Icons{}
Хуков нет.
Возвращает
Строку
. The generated icon.
Использование
$result = Icons::heroicons_book_open( $size );
- $size(int)
- The Height and Width of the SVG icon.
По умолчанию: self::SIZE_DEFAULT
Список изменений
Устарела с | 20.5 |
Код Icons::heroicons_book_open() Icons::heroicons book open Yoast 22.3
public static function heroicons_book_open( $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 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.747 0 3.332.477 4.5 1.253v13C19.832 18.477 18.247 18 16.5 18c-1.746 0-3.332.477-4.5 1.253' />", $size ); }