Automattic\WooCommerce\Blocks\BlockTypes

SavedForLater::get_remove_label_templateprivateWC 1.0

Sprintf template for the per-row remove button's aria-label. Same dual use as the quantity template.

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

Хуков нет.

Возвращает

null. Ничего (null).

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

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

Код SavedForLater::get_remove_label_template() WC 11.0.1

private function get_remove_label_template(): string {
	/* translators: %s: product name. */
	return __( 'Remove %s from Saved for later list', 'woocommerce' );
}