ENXF NET
Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
- Joined
- Nov 13, 2018
- Messages
- 24,667
- Points
- 823
Reputation:
I have added a new myclass to save a thread
and ...
a thread is saved to forum, but dump($thread) is empty.
how can I get the id of my new thread?
Continue reading...
$creator = \XF::service('XF:Thread\Creator', $forum);
and ...
$thread = $creator->save();
a thread is saved to forum, but dump($thread) is empty.
how can I get the id of my new thread?
Continue reading...