Changing Author ID on submit
I’m trying to modify the author ID of bbPress topics/replies automatically on submit.
I’ve tried a few different things but haven’t been able to get it working yet. Any suggestions?
$comment_data[‘post_author_id’] = 8;
$comment_data[‘post_author’] = ‘Robert’;
return $comment_data; }
More background info:
End goal will be to attribute posts to an ‘Anonymous’ user ID so users can to post sensitive content to a group without being identified. Similar to a private post but making their name private, not the post.
(I’m running WP 4.4.2, bbPress 2.5.8, BuddyPress 2.4.3)
Thanks for your help!
- You must be logged in to reply to this topic.