Dynamically add user meta with REST API
-
Is there any way to dynamically register metadata for a user via the REST API?
This is my use case:
I have a multi-part Ninja form with one question on each part. Each time a user answers a question and saves, I’d like the user’s metadata to be updated via JavaScript with ‘question_0_answered’: ‘yes’.
However, there’s no telling how many questions the client will end up coming up with so I’d rather not have to register them manually.
Is there any way to dynamically create user meta via the REST API?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Dynamically add user meta with REST API’ is closed to new replies.