Warning: This method has been deprecated.
WC_Abstract_Legacy_Product::get_variation_id()
Get variation ID.
Description Description
Return Return
(int)
Source Source
File: includes/legacy/abstract-wc-legacy-product.php
463 464 465 466 | public function get_variation_id() { wc_deprecated_function( 'WC_Product::get_variation_id' , '3.0' , 'WC_Product::get_id(). It will always be the variation ID if this is a variation.' ); return $this ->get_id(); } |
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |