Newsletters: Filter – newsletters_emailbody_links


The newsletters_emailbody_links filter is used to filter the links in the body of the email before it is sent out.

This filter is applied before the links are applied and also before the Newsletter plugin’s internal link/click tracking is applied.

You can use this filter to add query arguments to links for example.



  • $body – The full body of the email
  • $history_id – The history ID of the email in the database
  • $matches – Regular expression matches of A HREF links in the email body


Beautiful Newsletter Templates

Professional newsletter templates that are fully responsive for desktop, tablet, and mobile. They are 100% cross-client compatible.

See Them

Pin It on Pinterest