Automattic\WooCommerce\Blocks\BlockTypes

SavedForLater::get_move_to_cart_labelprivateWC 1.0

Visible label for the move-to-cart action button, used by both the iAPI <template> and the SSR per-row markup.

Method of the class: SavedForLater{}

No Hooks.

Returns

null. Nothing (null).

Usage

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

SavedForLater::get_move_to_cart_label() code WC 10.9.4

private function get_move_to_cart_label(): string {
	return __( 'Move to cart', 'woocommerce' );
}