Co-Authors Plus
PHP code to add Author (1 post)

  1. jkellerer
    Posted 2 years ago #


    I am wanting to check the meta-data in a post, if it exists, then I want to automatically add a certain user.

    What code can I use to just add a user, by ID, to a post by ID, and as many of them as I want.?

    Also I think I might need to be able to check by post ID what users are currently assigned?

    I believe I can figure out how to do the if statement.

    Any help would be great!



Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Co-Authors Plus
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic