Automattic\WooCommerce\Blocks\BlockTypes
SavedForLater::render_template_quantity
Template-mode markup for the quantity span. SFL-specific — Wishlist has no quantity column.
Method of the class: SavedForLater{}
No Hooks.
Returns
String.
Usage
// private - for code of main (parent) class only $result = $this->render_template_quantity(): string;
SavedForLater::render_template_quantity() SavedForLater::render template quantity code WC 10.9.4
private function render_template_quantity(): string {
return sprintf(
'<span class="%s__quantity" data-wp-text="state.currentItemQuantityLabel"></span>',
esc_attr( ShopperListRenderer::ROW_CLASS )
);
}