Title: Edit Post panel get tags array
Last modified: August 19, 2016

---

# Edit Post panel get tags array

 *  Resolved [toneburst](https://wordpress.org/support/users/toneburst/)
 * (@toneburst)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/edit-post-panel-get-tags-array/)
 * Hi,
 * this is a big of a hair-tearer. My plugin runs at post-save time, and adds tags
   to a post. The problem is, if I use
    `wp_get_post_terms()` to get the existing
   tags, I’m getting the tags from the last save of the post. This basically means
   that tags can’t be deleted.
 * Does anyone know how to get the current state of the Post Tags meta box in the
   Edit Post Dashboard panel? I’ve tried dumping out the $_POST data, but I can’t
   see anything obvious there, unless it’s hidden in a sub-array.
 * Cheers,
 * a|x

Viewing 1 replies (of 1 total)

 *  Thread Starter [toneburst](https://wordpress.org/support/users/toneburst/)
 * (@toneburst)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/edit-post-panel-get-tags-array/#post-1886633)
 * It’s OK, I got it. It was another error in my code that was causing the issue.
   It’s now working fine.
 * a|x

Viewing 1 replies (of 1 total)

The topic ‘Edit Post panel get tags array’ is closed to new replies.

## Tags

 * [$_POST](https://wordpress.org/support/topic-tag/_post/)
 * [edit-post](https://wordpress.org/support/topic-tag/edit-post/)
 * [tags](https://wordpress.org/support/topic-tag/tags/)

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 1 reply
 * 1 participant
 * Last reply from: [toneburst](https://wordpress.org/support/users/toneburst/)
 * Last activity: [15 years, 4 months ago](https://wordpress.org/support/topic/edit-post-panel-get-tags-array/#post-1886633)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
