Automattic\WooCommerce\Blocks\BlockTypes

CustomerAccount::render_caret_icon │ private │ WC 1.0

Render the caret/chevron icon for the dropdown toggle.

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

Хуков нет.

Возвращает

string. SVG markup for the caret icon.

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

// private - только в коде основоного (родительского) класса
$result = $this->render_caret_icon();

Код CustomerAccount::render_caret_icon() WC 11.3.0

private function render_caret_icon() {
	return '<svg class="wc-block-customer-account__caret" width="10" height="6" viewBox="0 0 10 6" fill="none" xmlns="http://www.w3.org/2000/svg">
		<path d="M1 1L5 5L9 1" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
	</svg>';
}