WC_Product_CSV_Exporter::get_column_value_regular_price
Get formatted regular price.
Method of the class: WC_Product_CSV_Exporter{}
No Hooks.
Returns
String.
Usage
// protected - for code of main (parent) or child class $result = $this->get_column_value_regular_price( $product );
- $product(WC_Product) (required)
- Product being exported.
WC_Product_CSV_Exporter::get_column_value_regular_price() WC Product CSV Exporter::get column value regular price code WC 10.6.2
protected function get_column_value_regular_price( $product ) {
return wc_format_localized_price( $product->get_regular_price() );
}