WC_Product_External::add_to_cart_text()
Get the add to cart button text.
Description Description
Return Return
(string)
Source Source
File: includes/class-wc-product-external.php
public function add_to_cart_text() { return apply_filters( 'woocommerce_product_add_to_cart_text', $this->get_button_text() ? $this->get_button_text() : _x( 'Buy product', 'placeholder', 'woocommerce' ), $this ); }