Your cart is currently empty!
Add a groups column to woocommerce admin orders list
—
by
Hi guys, we added a column for Groups into the WooCommerce Admin orders list and we want to display the group(s) in the column for each order depending on the user of that order. A very similar column exists on the All Users Admin list, we would just need to know what shortcode to add to the new column of the orders list to look the same as the Users list.
Thanks in advance
Rudy
Posted in Groups
Comments
3 responses to “Add a groups column to woocommerce admin orders list”
Hi Denitsa,
I managed to achieve the end result that I wanted following your advice. Thanks for the help!
Best,
Rudy
Hey Rudy,
Glad I could help! 🙂
Cheers,
Denitsa
Hello, Rudy,
There is a filter hook called manage_users_custom_column that you might take a look at as an example for how to go about on what you’d like to achieve. It’s used to add the additional column to the Users screen. It’s part of the Groups_Admin_Users class found in /lib/admin/class-groups-admin-users.php.
Let me know if this works for you!
Cheers,
Denitsa