XF 2.0 How to identify last post in thread in acp>advertisement?

Marcus

Well-known member
#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.
 
Top