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