I'm using the wordpressPCL library to create new users. I need to insert Meta fields as well, how should I structure this field?

    private static async Task InserUser()
        WordPressClient client = await GetClient();
        var isValidToken = await client.IsValidJWToken();
        if (isValidToken)
            var newUser = new User("ciao", "ciao@ciao.com", "ciao123")
                FirstName = "primo nome",
                LastName = "ultimo nome",
                NickName = "ciao nickname",
                Meta = ????

            var insUser = await client.Users.Create(newUser);


unfortunately in the documentation I do not understand well, someone can help me?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.