Add filter for order downloadable items

ref #17992
This commit is contained in:
tom 2017-12-02 11:15:07 +08:00
parent 4443d473ab
commit 9dcc4c49f4
1 changed files with 1 additions and 1 deletions

2
includes/class-wc-order.php Normal file → Executable file
View File

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