XF 2.2 How to create a fake thread/post object?

pangamma

Member
Trying to call some templates or macros using a post that has custom data but the post object itself is very detailed. I'm afraid I might miss something or write code that would break in a future upgrade. Is there a utility to help with making up new instances of post/thread? Or a way to clone an existing post object?
 
Top Bottom