Title: Function to add co-author
Last modified: August 30, 2016

---

# Function to add co-author

 *  [spyderlol](https://wordpress.org/support/users/spyderlol/)
 * (@spyderlol)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/function-to-add-co-author/)
 * Hello,
 * There are any function that by code allow add co-author
 * Somethin like that:
 * add_coauthor_post(user->id, post->ID);
 * Thanks.
 * [https://wordpress.org/plugins/co-authors-plus/](https://wordpress.org/plugins/co-authors-plus/)

The topic ‘Function to add co-author’ is closed to new replies.

 * ![](https://ps.w.org/co-authors-plus/assets/icon-256x256.png?rev=2945095)
 * [Co-Authors Plus](https://wordpress.org/plugins/co-authors-plus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/co-authors-plus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/co-authors-plus/)
 * [Active Topics](https://wordpress.org/support/plugin/co-authors-plus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/co-authors-plus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/co-authors-plus/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [spyderlol](https://wordpress.org/support/users/spyderlol/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/function-to-add-co-author/)
 * Status: not resolved