# Wordpress user meta data

**URL:** <https://community.n8n.io/t/wordpress-user-meta-data/7069>\
**Category:** Questions\
**Tags:** node\
**Created:** [August 3, 2021, 1:32pm UTC](https://community.n8n.io/t/wordpress-user-meta-data/7069 "2021-08-03T13:32:41Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![seank1968](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/seank1968/32/4081_2.png) [@seank1968](https://community.n8n.io/u/seank1968)\
**Post date:** [August 3, 2021, 1:32pm UTC](https://community.n8n.io/t/wordpress-user-meta-data/7069/1 "2021-08-03T13:32:41Z")

</div>

I have some custom fields in my Wordpress user data - in particular I have one called ‘text\_crm\_user’

When I get the user data with the Wordpress node I cannot see any of these fields. I have two entries:

“meta” - which is empty  
“woocommerce\_meta” - which contains data

How do I pull in any additional information from the user profiles?

Thanks!

---

<div class="post-metadata">

**Author:** ![seank1968](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/seank1968/32/4081_2.png) [@seank1968](https://community.n8n.io/u/seank1968)\
**Post date:** [August 3, 2021, 2:58pm UTC](https://community.n8n.io/t/wordpress-user-meta-data/7069/2 "2021-08-03T14:58:20Z")

</div>

Found the answer to that - you have to manually register the fields into the API within Wordpress:

```auto
register_meta( 'user', 'your_meta_key_here', ['show_in_rest' => true] );

```

This lets me pull the existng data into the Wordpress node when I GET a user!

It doesn’t show them in the Update User dialog - the Add Field only shows the standard fields. How can I add the new meta fields here?

Cheers!

---

<div class="post-metadata">

**Author:** ![RicardoE105](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/ricardoe105/32/550_2.png) [@RicardoE105](https://community.n8n.io/u/RicardoE105)\
**Post date:** [August 4, 2021, 1:33am UTC](https://community.n8n.io/t/wordpress-user-meta-data/7069/3 "2021-08-04T01:33:00Z")

</div>

That is sadly currently not posible. You can make a feature request. In the meantime, you can use the HTTP request to update the metadata.

---

<div class="post-metadata">

**Author:** ![harshil1712](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/harshil1712/32/1374_2.png) [@harshil1712](https://community.n8n.io/u/harshil1712)\
**Post date:** [August 5, 2021, 1:09pm UTC](https://community.n8n.io/t/wordpress-user-meta-data/7069/4 "2021-08-05T13:09:35Z")

</div>

Hey @seank1968!

Were you able to resolve this using the HTTP Request node? Let us know if you need help 🙂

---

<div class="post-metadata">

**Author:** ![seank1968](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/seank1968/32/4081_2.png) [@seank1968](https://community.n8n.io/u/seank1968)\
**Post date:** [August 5, 2021, 2:37pm UTC](https://community.n8n.io/t/wordpress-user-meta-data/7069/5 "2021-08-05T14:37:10Z")

</div>

@harshil1712

Just trying it now.

I can update the standard fields - email, nickname etc by using POST and adding the field name and new value with the Add Parameter option.

But the additional fields I have added don’t update - no error is returned.

For example, I have a field called text\_crm\_user - if I enter that as the name and a value, for example ‘qwerty’ as a new parameter - the node executes but the field doesn;t upidate.

---

<div class="post-metadata">

**Author:** ![RicardoE105](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/ricardoe105/32/550_2.png) [@RicardoE105](https://community.n8n.io/u/RicardoE105)\
**Post date:** [August 5, 2021, 3:28pm UTC](https://community.n8n.io/t/wordpress-user-meta-data/7069/6 "2021-08-05T15:28:13Z")

</div>

You probably have to send the data as:

```
{
   meta: {
       text_crm_user: 'data'
   }
}
```

---

<div class="post-metadata">

**Author:** ![seank1968](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/seank1968/32/4081_2.png) [@seank1968](https://community.n8n.io/u/seank1968)\
**Post date:** [August 5, 2021, 4:13pm UTC](https://community.n8n.io/t/wordpress-user-meta-data/7069/7 "2021-08-05T16:13:43Z")

</div>

Ah ok - I’ll try that when I’m back in the office tomorrow!  
Thanks!

---

<div class="post-metadata">

**Author:** ![RicardoE105](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/ricardoe105/32/550_2.png) [@RicardoE105](https://community.n8n.io/u/RicardoE105)\
**Post date:** [August 5, 2021, 4:46pm UTC](https://community.n8n.io/t/wordpress-user-meta-data/7069/8 "2021-08-05T16:46:23Z")

</div>

Sure, let us know.

---

<div class="post-metadata">

**Author:** ![harshil1712](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/harshil1712/32/1374_2.png) [@harshil1712](https://community.n8n.io/u/harshil1712)\
**Post date:** [August 12, 2021, 9:47am UTC](https://community.n8n.io/t/wordpress-user-meta-data/7069/9 "2021-08-12T09:47:48Z")

</div>

Hey @seank1968,

Did @RicardoE105’s solution work for you?

---

<div class="post-metadata">

**Author:** ![seank1968](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/seank1968/32/4081_2.png) [@seank1968](https://community.n8n.io/u/seank1968)\
**Post date:** [November 9, 2021, 3:34pm UTC](https://community.n8n.io/t/wordpress-user-meta-data/7069/10 "2021-11-09T15:34:25Z")

</div>

@RicardoE105 yes, that worked thanks!

---

<div class="post-metadata">

**Author:** ![RedPacketSec](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/redpacketsec/32/17523_2.png) [@RedPacketSec](https://community.n8n.io/u/RedPacketSec)\
**Post date:** [November 9, 2021, 5:30pm UTC](https://community.n8n.io/t/wordpress-user-meta-data/7069/11 "2021-11-09T17:30:03Z")

</div>

custom HTTP node, ALL my wordpress work is done with the HTTP Request node and I populate the fields I need
