Do away with ID - $this covers everything

This commit is contained in:
Mike Jolley 2016-06-23 11:44:04 +01:00
parent ff003f066c
commit dd48f3e851
1 changed files with 1 additions and 1 deletions

View File

@ -641,7 +641,7 @@ class WC_Product {
* @return bool
*/
public function backorders_require_notification() {
return apply_filters( 'woocommerce_product_backorders_require_notification', $this->managing_stock() && $this->backorders === 'notify' ? true : false, $this->id, $this );
return apply_filters( 'woocommerce_product_backorders_require_notification', $this->managing_stock() && $this->backorders === 'notify' ? true : false, $this );
}
/**