Skip to content

Instantly share code, notes, and snippets.

Last active August 29, 2015 14:17
What would you like to do?
Checkout: Filter - checkout_admin_orders_export_headings Example
function orders_export_headings($headings = null, $data = null) {
//remove the 'paid' column
//add a custom column
$headings['custom'] = "My Column";
return $headings;
add_filter('checkout_admin_orders_export_headings', 'orders_export_headings', 10, 2);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment