$my_post['post_author'] = 1
koddaki 1 olan kısmı değiştirmek istediğin kullanıcının id si ile değiştir olur sanırsam.