This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Add additional 'download-count' column to the table of downloads on the customer's order email. | |
* @param Array $columns Associative array of key "column_id" and value with the display name https://goo.gl/TDxPLE | |
*/ | |
function add_order_email_dl_cols($columns) { | |
return array( | |
'download-product' => __( 'Product', 'woocommerce' ), | |
'download-expires' => __( 'Expires', 'woocommerce' ), |