WordPress at Your Fingertips
function is not described

WC_Product_CSV_Exporter::get_column_value_sale_price() protected WC 1.0

Get formatted sale price.

{} It's a method of the class: WC_Product_CSV_Exporter{}

No Hooks.

Return

String.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_column_value_sale_price( $product );
$product(WC_Product) (required)
Product being exported.

Code of WC_Product_CSV_Exporter::get_column_value_sale_price() WC 5.9.0

protected function get_column_value_sale_price( $product ) {
	return wc_format_localized_price( $product->get_sale_price( 'view' ) );
}