WordPress.org

Support

Support » Plugins and Hacks » How can you add a post to a category?

How can you add a post to a category?

  • wesg
    Member

    @wesg

    I’m adding functions to my plugin that add posts to defined categories, but I can’t figure out what records in the database need to be changed for that to work. The post table has post_category but even adding a category id to that doesn’t make it happen. How else can I do it?

  • The topic ‘How can you add a post to a category?’ is closed to new replies.