WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. jkellerer
    Member
    Posted 1 month ago #

    Hi,

    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!

    Thanks,

    https://wordpress.org/plugins/co-authors-plus/

Reply

You must log in to post.

About this Plugin

About this Topic