How To Grab a List of Latest Threads

How To Grab a List of Latest Threads

Code:
/** @var \XF\Repository\Thread $threadRepo */
$threadRepo = \XF::app()->repository('XF:Thread');
$threadFinder = $threadRepo->findThreadsWithLatestPosts();

dump($threadFinder);

Next, you can do a loop to pull the threads...
You do not have permission to view the full content of this resource. Log in or register now.
Author
LPH
Views
3,878
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from LPH

Top