I am working in Akeeba subscription it's based on FoF.I wanted to check some condition before user can delete subscription.
I have a plugin MyPlugin
and class is -
class plgAkeebasubsMyPlugin extends JPlugin
I thought that I'll have to add code in function onContentBeforeDelete
inside this plugin but it did not work.I would like to know how can I create plugin to accomplish this.