fixing typo in product classes
This commit is contained in:
parent
4cf8152602
commit
c4201add98
|
@ -30,7 +30,7 @@ class WC_Product_External extends WC_Product {
|
|||
* Returns false if the product cannot be bought.
|
||||
*
|
||||
* @access public
|
||||
* @return cool
|
||||
* @return bool
|
||||
*/
|
||||
public function is_purchasable() {
|
||||
return apply_filters( 'woocommerce_is_purchasable', false, $this );
|
||||
|
@ -85,4 +85,4 @@ class WC_Product_External extends WC_Product {
|
|||
public function get_button_text() {
|
||||
return $this->button_text ? $this->button_text : __( 'Buy product', 'woocommerce' );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -154,7 +154,7 @@ class WC_Product_Grouped extends WC_Product {
|
|||
* Returns false if the product cannot be bought.
|
||||
*
|
||||
* @access public
|
||||
* @return cool
|
||||
* @return bool
|
||||
*/
|
||||
public function is_purchasable() {
|
||||
return apply_filters( 'woocommerce_is_purchasable', false, $this );
|
||||
|
|
|
@ -240,7 +240,7 @@ class WC_Product_Variation extends WC_Product {
|
|||
* Returns false if the product cannot be bought.
|
||||
*
|
||||
* @access public
|
||||
* @return cool
|
||||
* @return bool
|
||||
*/
|
||||
public function is_purchasable() {
|
||||
|
||||
|
|
Loading…
Reference in New Issue