Rename filter and pass order

This commit is contained in:
Mike Jolley 2017-12-07 15:33:26 +00:00
parent 9dcc4c49f4
commit f0c04b019b
1 changed files with 1 additions and 1 deletions

View File

@ -1381,7 +1381,7 @@ class WC_Order extends WC_Abstract_Order {
}
}
return apply_filters( 'woocommerce_get_downloadable_items', $downloads );
return apply_filters( 'woocommerce_order_get_downloadable_items', $downloads, $this );
}
/**