• Resolved lukiyano

    (@lukiyano)


    Hello,

    I’m wondering if there is a way to define a learndash_groups attribute within the CSV file?
    I have tried creating a column titled “learndash_groups” and within the cell I defined the ID of the group. Unfortunately it did not work.

    Is there a way? Help would be appreciated, thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Javier Carazo

    (@carazo)

    If learndash_groups is not a meta key, you have to introduce it using the hooks prepared for this when:

    I just add column with the header “learndash_group_users_XXX” where “XXX” is the ID of the group. In the column cells I just enter the ID. It works fine for me.

    Thread Starter lukiyano

    (@lukiyano)

    @vcanteli

    Thanks for the info!
    I’m still a little confused about this method though. You have to assign the group ID in both the column header and in the individual user cells?

    Does this mean it’s impossible to assign different users to different groups using a single import?

    Lets say I have multiple groups that I need to assign users to, in the example below, how would that be accomplished? If I have to define an ID in the header, I’m not sure what would happen if I defined a different ID in the cells below (ex “321”, “200”)

    Could I add “learndash_group_users” in the column header and then just specify ID’s in the cells?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Is it possible to import users into LearnDash groups?’ is closed to new replies.