use woocommerce_product_add_to_cart_text hook
This commit is contained in:
parent
32d5e3d6f0
commit
8df243fdbf
|
@ -177,6 +177,6 @@ class WC_Product_External extends WC_Product {
|
|||
* @return string
|
||||
*/
|
||||
public function add_to_cart_text() {
|
||||
return apply_filters( 'woocommerce_product_single_add_to_cart_text', $this->get_button_text(), $this );
|
||||
return apply_filters( 'woocommerce_product_add_to_cart_text', $this->get_button_text(), $this );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue