Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Problem with custom export columns

$
0
0

Replies: 1

I think I’ve found an issue within the following file:

wp-content/plugins/woocommerce-germanized/includes/export/class-wc-gzd-product-export.php

In this file you are adding custom columns to the exporter but within the admin_init action. At my plugin I’m accessing the WooCommerce columns this way but within a running Cron job. The problem is: I only get the columns from WooCommerce and not yours because of the fact, that Cron jobs are not calling admin_init. Within the exporter on the WooCommerce page it works because this time the admin_init hook gets called.

Any chance you can fix this in future releases?


Viewing all articles
Browse latest Browse all 59525

Trending Articles