Adding WhatsApp button on Dolibarr client


We are working on Dolibarr 12 and we would like to integrate a button that allows you to click on a phone number and open WhatsApp to be able to contact a client with applications such as WhatsApp web.

Something similar to what can be implemented with HTML. What would be the most appropriate way?

There is a hook you can you into dol_print_phone method.