Title: get_term_meta not working with array value
Last modified: August 31, 2016

---

# get_term_meta not working with array value

 *  Resolved [skylarkcob](https://wordpress.org/support/users/skylarkcob/)
 * (@skylarkcob)
 * [10 years ago](https://wordpress.org/support/topic/get_term_meta-not-working-with-array-value/)
 * I check my database in wp_termmeta table, with meta value:
 * a:2:{s:3:”url”;s:64:”[http://demo.hocwp.net/phongtro123/wp-content/uploads/hocwp/T.Ham_.jpg&#8221](http://demo.hocwp.net/phongtro123/wp-content/uploads/hocwp/T.Ham_.jpg&#8221);;
   s:2:”id”;s:3:”120″;}
 * Meta key: icon
    Term ID: 11
 * `$meta = get_term_meta(11, 'icon', true);`
 * The result is empty, please help me with this case.
 * Thank you very much.

Viewing 1 replies (of 1 total)

 *  Thread Starter [skylarkcob](https://wordpress.org/support/users/skylarkcob/)
 * (@skylarkcob)
 * [10 years ago](https://wordpress.org/support/topic/get_term_meta-not-working-with-array-value/#post-7290142)
 * Sorry, it’s just my fault. I make it working now.

Viewing 1 replies (of 1 total)

The topic ‘get_term_meta not working with array value’ is closed to new replies.

## Tags

 * [term meta](https://wordpress.org/support/topic-tag/term-meta/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [skylarkcob](https://wordpress.org/support/users/skylarkcob/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/get_term_meta-not-working-with-array-value/#post-7290142)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
