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.

Method of the class: SavedForLater{}

No Hooks.

Returns

null. Nothing (null).

Usage

// private - for code of main (parent) class only
$result = $this->get_remove_label_template(): string;

SavedForLater::get_remove_label_template() code WC 10.9.4

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