Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
in Q2A Core by
Obviously when a best answer is selected or a question is answered it updates/inserts into the appropriate qa tables, how would I trigger some other php code aswell while either a best answer is selected or question is answered?

1 Answer

0 votes

Check out the plugins documentation. You would need an event module that hooks into the events "a_post" for when an answer is posted, and "a_select" when an answer is selected.

If you need more pointers, check out some similar plugins from the Add-ons section, should give you some hints.