Missing Custom Values in CSV Export
I have a custom plugin that manages a public voting poll. The poll results for “Public Votes” are displayed correctly as an additional column in my backend (see 1.jpg), but when I do the AC Export, these values do not come through. (see 2.jpg).
IF you’re curious, these values aren’t a simple custom post meta/ACF field but are actually a COUNT() of rows from from a custom DB table, controlled by my custom plugin.
Is there a way to hook these values into my AC Export? Thank you!
Here’s an SQL query that will output the values for each row’s Public Votes column:
SELECT d.post_id, p.post_title, COUNT(*) AS votes FROM wp_dpvej_public d INNER JOIN wp_posts p ON p.ID = d.post_id GROUP BY d.post_id ORDER BY votes DESC
1.jpg and 2.jpg respectively:
You must be logged in to reply to this topic.