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.

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

Хуков нет.

Возвращает

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

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

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

Код SavedForLater::get_move_to_cart_label() WC 11.0.1

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