WC_Product_Variable::add_to_cart_text()

Get the add to cart button text.


Description Description


Return Return

(string)


Top ↑

Source Source

File: includes/class-wc-product-variable.php

	public function add_to_cart_text() {
		return apply_filters( 'woocommerce_product_add_to_cart_text', $this->is_purchasable() ? __( 'Select options', 'woocommerce' ) : __( 'Read more', 'woocommerce' ), $this );
	}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.