WC_Product::get_length()
Returns the product length.
Method of the class: WC_Product{}
No Hooks.
Return
String
.
Usage
$WC_Product = new WC_Product(); $WC_Product->get_length( $context );
- $context(string)
- What the value is for. Valid values are view and edit.
Default: 'view'
WC_Product::get_length() WC Product::get length code WC 9.2.3
public function get_length( $context = 'view' ) { return $this->get_prop( 'length', $context ); }