WC_Product::get_customs_country_of_origin
Gets the customs country of origin.
Method of the class: WC_Product{}
No Hooks.
Returns
string|null.
Usage
$WC_Product = new WC_Product(); $WC_Product->get_customs_country_of_origin( $context );
- $context(string)
- View or edit context.
Default:'view'
Changelog
| Since 11.3.0 | Introduced. |
WC_Product::get_customs_country_of_origin() WC Product::get customs country of origin code WC 11.3.0
public function get_customs_country_of_origin( $context = 'view' ) {
return $this->get_prop( 'customs_country_of_origin', $context );
}