• Resolved wp_user1

    (@wp_user1)


    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)
  • Plugin Support kellymetal a11n

    (@kellymetal)

    Hi there @wp_user1,

    We have a list of available filters/actions in our article below, however I don’t see any for what you are trying to do, and don’t see any available in the ViewInBrowser.php file
    https://kb.mailpoet.com/article/274-list-of-filters-and-actions

    For requests to add/change functionality or filters/actions/etc in the plugin code, they can be added to our feedback board here:
    https://feedback.mailpoet.com

    Our team will take it into account when discussing new features and improvements for the plugin.

    In the meantime though, until things are changed in the plugin code, it would be necessary to re-add your customization each time you update.

    Please let me know if you have any questions. Thank you!

    Thread Starter wp_user1

    (@wp_user1)

    Yes I found this list, and no there is no matching option :/

    Plugin Support kellymetal a11n

    (@kellymetal)

    Hi there @wp_user1,

    That’s correct. So until something is implemented, it will be necessary to add your customization after each update.

    If you haven’t done so, please go ahead with adding the request to our ideas board. Thank you!

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.