Add a groups column to woocommerce admin orders list

Posted in

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

3 Responses to Add a groups column to woocommerce admin orders list

  1. Rudek July 1, 2019 at 8:25 am #

    Hi Denitsa,

    I managed to achieve the end result that I wanted following your advice. Thanks for the help!


    • Denitsa July 1, 2019 at 10:28 am #

      Hey Rudy,
      Glad I could help! 馃檪

  2. Denitsa June 17, 2019 at 3:36 pm #

    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!

We use cookies to optimize your experience on our site and assume you're OK with that if you stay.
OK, hide this message.

AffiliatesContactJobsTerms & ConditionsPrivacy PolicyDocumentationDownloadsUseful PluginsMy Account