WC_Product_CSV_Exporter::get_column_value_download_limit( WC_Product $product )

Get download_limit value.


Description Description


Parameters Parameters

$product

(Required) Product being exported.


Top ↑

Return Return

(string)


Top ↑

Source Source

File: includes/export/class-wc-product-csv-exporter.php

	protected function get_column_value_download_limit( $product ) {
		return $product->is_downloadable() && $product->get_download_limit( 'edit' ) ? $product->get_download_limit( 'edit' ) : '';
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.