Merge pull request #6443 from franticpsyx/master-filter-get_children
Port 'woocommerce_get_children' filter from 2.2-bleeding
This commit is contained in:
commit
4f8735a86f
|
@ -166,7 +166,7 @@ class WC_Product_Variable extends WC_Product {
|
|||
$children = $this->children;
|
||||
}
|
||||
|
||||
return $children;
|
||||
return apply_filters( 'woocommerce_get_children', $children, $this );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue