Pre and Post actions

Pre actions and Post actions are a feature that allows you to customize the existing (or even your customly created) Net Types.

Check how Custom Types works, then you can implement pre and post actions on the same way just by putting your code on pre-actions.js and post-actions.js under /custom folder.

Pre actions

Pre actions are executed just before any other action for a specific Net Type. Use it for: bad language filters, conditional actions, etc...

Post actions

Pre actions are executed after any other action for a specific Net Type. Use it for: logging data after events, etc...

Last updated