WC_Product::has_child()
Returns whether or not the product has any child product.
Description Description
Return Return
(bool)
Source Source
File: includes/abstracts/abstract-wc-product.php
public function has_child() { return 0 < count( $this->get_children() ); }