WC_Product_CSV_Exporter::get_column_value_download_expiry( WC_Product $product )
Get download_expiry value.
Description Description
Parameters Parameters
- $product
-
(Required) Product being exported.
Return Return
(string)
Source Source
File: includes/export/class-wc-product-csv-exporter.php
protected function get_column_value_download_expiry( $product ) { return $product->is_downloadable() && $product->get_download_expiry( 'edit' ) ? $product->get_download_expiry( 'edit' ) : ''; }
Changelog Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |