WC_Customer::get_shipping( string $context = 'view' )
Get shipping.
Description Description
Parameters Parameters
- $context
-
(Optional) What the value is for. Valid values are 'view' and 'edit'.
Default value: 'view'
Return Return
(array)
Source Source
File: includes/class-wc-customer.php
public function get_shipping( $context = 'view' ) { return $this->get_prop( 'shipping', $context ); }
Changelog Changelog
Version | Description |
---|---|
3.2.0 | Introduced. |