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.
|
* Returns false if the product cannot be bought.
|
||||||
*
|
*
|
||||||
* @access public
|
* @access public
|
||||||
* @return cool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public function is_purchasable() {
|
public function is_purchasable() {
|
||||||
return apply_filters( 'woocommerce_is_purchasable', false, $this );
|
return apply_filters( 'woocommerce_is_purchasable', false, $this );
|
||||||
|
|
|
@ -154,7 +154,7 @@ class WC_Product_Grouped extends WC_Product {
|
||||||
* Returns false if the product cannot be bought.
|
* Returns false if the product cannot be bought.
|
||||||
*
|
*
|
||||||
* @access public
|
* @access public
|
||||||
* @return cool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public function is_purchasable() {
|
public function is_purchasable() {
|
||||||
return apply_filters( 'woocommerce_is_purchasable', false, $this );
|
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.
|
* Returns false if the product cannot be bought.
|
||||||
*
|
*
|
||||||
* @access public
|
* @access public
|
||||||
* @return cool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public function is_purchasable() {
|
public function is_purchasable() {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue