WordPress.org

Support

Support » Plugins and Hacks » Hacks » [Resolved] Edit Post panel get tags array

[Resolved] Edit Post panel get tags array

  • toneburst
    Member

    @toneburst

    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)
  • toneburst
    Member

    @toneburst

    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 ‘[Resolved] Edit Post panel get tags array’ is closed to new replies.