• Resolved chechons

    (@chechons)


    Hello, I would like to know, if there is a way to add a custom_meta (to be more specific, a group of learndash) at the time of importing, the idea is that the client can do the import without adding this meta_key / meta_value in the csv and that he can do it from the plugin, selecting the group

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

    (@carazo)

    @chechons,

    Yes, you can set the key of the meta value as title in first row and the use every row to import each value for each user.

    Is that clear?

    Thread Starter chechons

    (@chechons)

    Mmm… Any specific file where to write it?

    Plugin Author Javier Carazo

    (@carazo)

    The CSV you are going to upload.

    Download the CSV sample or export data from your system.

    Thread Starter chechons

    (@chechons)

    we cannot add it in the csv, our client wants to do it from the homepage of the plugin, we need another alternative, maybe using code to do it

    Plugin Author Javier Carazo

    (@carazo)

    @chechons,

    We can do for example a key-value input, to include in all user those values.

    What do you think?

    Thread Starter chechons

    (@chechons)

    It doesn’t matter anymore, we use a column for that from the CSV. My question now is if you can hash the password when the import is done ?, is there any way? without having to hash it in the csv?… I mean if the plugin can hash the password when importing?

    Plugin Author Javier Carazo

    (@carazo)

    Yes, sure if you use:

    • user_pass: is a column for hashed password
    • password: is a column for passwords to be hashed

    You can use both, but if you fill user_pass and not password, leave password empty.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Import a custom meta’ is closed to new replies.