Marcus Well-known member Sep 26, 2017 #1 What is the most straight forward way to achieve this? The last_post_id is in "$post. #_relations . Likes . "XF\Entity\Thread" . last_post_id" in the $post entity. How can I fetch that with PHP? Thanks.
What is the most straight forward way to achieve this? The last_post_id is in "$post. #_relations . Likes . "XF\Entity\Thread" . last_post_id" in the $post entity. How can I fetch that with PHP? Thanks.
Mike XenForo developer Staff member Sep 26, 2017 #2 If I understand, this is what you want: $post.Thread.last_post_id == $post.post_id Upvote 0 Downvote