• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

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.