Hi,
I am using Dolibarr 8.0.0 version.
I have tried to create hooks for customization of code. But while upgrade(from 8.0.0 to 8.0.2) the core page where i have written $hookmanager->executeHooks(…) is lost or overwritten.
I have created hook like below in htdocs/product/card.php :
$reshook=$hookmanager->executeHooks(‘addCustomText’,$parameters,$object,$action);
print $hookmanager->resPrint;
In my custom module I have written addCustomText function.
I am not sure whether the way I have written hook is correct or not. But after upgrading to 8.0.2, executeHooks code written in card.php file is lost.
Please give me solution to solve this issue.