Jump to content

Edit History

Andrejkov

Andrejkov

4 hours ago, 4you.software said:

Hi.
Mail.php is a class and you cannot insert a hook into it like this.
The code sample is for a custom module.

Hi,

I dont add this code to Mail.php. 

I add to module ps_emailsubscription in file ps_emailsubscription.php (I found there similar codes)

So where i need to put this code in module emailsubscription??

Regards.

Andrejkov

Andrejkov

4 hours ago, 4you.software said:

Hi.
Mail.php is a class and you cannot insert a hook into it like this.
The code sample is for a custom module.

Hi,

I dont add this code to Mail.php. 

I add to module ps_emailsubscription in file ps_emailsubscription.php 

So where i need to put this code in module emailsubscription??

Regards.

×
×
  • Create New...