Warning: This method has been deprecated. Use wc_get_product instead.
WC_Abstract_Legacy_Product::get_child( mixed $child_id )
Returns the child product.
Description Description
Parameters Parameters
- $child_id
-
(Required)
Return Return
Source Source
File: includes/legacy/abstract-wc-legacy-product.php
public function get_child( $child_id ) { wc_deprecated_function( 'WC_Product::get_child', '3.0', 'wc_get_product' ); return wc_get_product( $child_id ); }
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |