@slimshadys
4 years, 6 months ago
Nevermind, managed to get it working with this workaround:
$author_id = get_post_field( 'post_author', $topic_id );
Now I have the proper $author_id! 🙂