So, recently i started to work with Presta and everything on the front office flew perfectly, but in the back office dificulties appeared.
I'm trying to hook to an action ActionAdminCustomerFormModifier which is fired in AdminController.php like this Hook::exec('action'.$this->controller_name.'FormModifier', array(...
where action'.$this->controller_name.'FormModifier
stands for actionAdminCustomersFormModifier.
As a good kid i registered it ($this->registerHook('actionAdminCustomersFormModifier')
like every other hook for front office), created a function in main module class (public function hookActionAdminCustomersFormModifier
) but, to my horror, it has never run.
I'm using PrestaShop 1.7.4
SOLUTION
So I just made public function hookActionAdminFormModifier
and registered it actionAdminControllerFormModifier
and reuploaded it. My problem was, i think, I had connected my IDE directly to the presta server and probably it had some problems when i registered a new hook. So I have reinstalled my module and everything flew like a charm.