WC_Product_External::single_add_to_cart_text()

Get the add to cart button text for the single page.


Description Description


Return Return

(string)


Top ↑

Source Source

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

	public function single_add_to_cart_text() {
		return apply_filters( 'woocommerce_product_single_add_to_cart_text', $this->get_button_text() ? $this->get_button_text() : _x( 'Buy product', 'placeholder', 'woocommerce' ), $this );
	}


Top ↑

User Contributed Notes User Contributed Notes

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