WordPress.org

Forums

How can you add a post to a category? (1 post)

  1. wesg
    Member
    Posted 6 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.