How to insert source into Webview (Hook for ViewInBrowser.php?)
-
Hey,
we want to add a little piece of source code to the web view of MailPoet newsletter.
In this case external links should open in a new window. This is not possible to add in Mailpoet interface.We found a solution – just add the code into the ViewInBrowser.php file (/lib/Router/Endpoints). It works fine, but with next update it will be away.
So how can I add source here, is there a hook or something like that?
Thanks and kind regards
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How to insert source into Webview (Hook for ViewInBrowser.php?)’ is closed to new replies.