Little confused between on_after_post() & on_before_save()
Hello,
I am little confused between on_after_post() method and on_before_save() method..
When I fill the form and do submit then it will fire first "on_before_save()" and I can get all form values
and then later it will go to "on_after_post()" and in on_after_post() I am also getting all values..
So I want to confirm that first it is storing the data in DB via "on_before_save()" and later it is calling "on_after_post()" ?
Actually function name makes me confused.. Because once we click on submit button then first should be call "on_after_post()" and later it should be call "on_before_save()" ( I think this order is correct? )
Comments