Capabilities
-
Hi there,
I was wondering how we’d go about importing Capabilities with this plugin?
It’s for a membership section that assigns its users with a custom Capability.
I’ve tried using a column titled ‘capabilities’ but it hasn’t worked. Seems to be ignored.
Also can we import user meta items, using meta_keys? How would we format this in the CSV?
Any help you can offer would be appreciated.
Cheers,
J
-
Currently this is not possible directly. You can try to do it using a serialized value but this is not user-friendly.
If you want, we could do some kind of special column for this with a syntax of this kind: capability0, capability1…
What do you think? I would need your support to be able to do it and include in a new version.
It’s pretty vital that we get it included, so I am happy to help in any way I can.
Would this also cover any user_meta fields that could also be imported?
Regards,
JOk write me to carazo AT codection DOT com and we talk about the support.
Currently any user_meta field can be imported 🙂
Sorry how do I go about importing a user_meta field?
Do I just include the meta_key name from the DB as a column header?
I couldn’t see anything in the documentation..
Cheers,
JAlso; do I need to format the meta_value in this particular way (as an example):
a:1:{i:0;s:17:”dashboard_primary”;}
Cheers,
JYes, in this way!
The topic ‘Capabilities’ is closed to new replies.