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