Made abstract function useful

This commit is contained in:
Mike Jolley 2016-10-18 17:13:12 +01:00
parent 2fb0dd50d5
commit c2a67803fc
1 changed files with 1 additions and 1 deletions

View File

@ -1388,7 +1388,7 @@ class WC_Product extends WC_Abstract_Legacy_Product {
* @return bool
*/
public function has_child() {
return false;
return 0 < count( $this->get_children() );
}
/**