XF 2.2 Intercepting new post creation

abdfahim

Well-known member
If I want to intercept creation of a new post (new thread or reply in forum/profile/conversation), which classes I need to extend?

In other words, is there any document that lists the classes that control posting new content in the forum? I am mainly interested in :
  • Creating a new thread
  • Creating a new profile post
  • posting a reply in an existing thread
  • posting a reply in an existing profile post
 
\XF\Pub\Controller\Post.php
\XF\Pub\Controller\Thread.php
\XF\Pub\Controller\ProfilePost.php

are all likely candidates
 
  • Like
Reactions: eL_
Back
Top Bottom