Post comment as different user than logged in
Yes, add an user-select field in the comment form: add_action(‘comment_form_after_fields’, function(){ // allow only users who can moderate comments to do this if(!current_user_can(‘moderate_comments’)) return; $user = wp_get_current_user(); wp_dropdown_users(array( ‘name’ => ‘alt_comment_user’, ‘selected’ => $user->ID, )); }); When the form gets processed, check if an user has been selected and change the comment data before it … Read more