Newsletters: Filter – newsletters_emailbody_links

Description

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 Bit.ly 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.

Usage

Arguments

  • $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

Example

Website & Email Hosting

Get the best website & email hosting for speed, security, and peace of mind. No restrictions. Freedom to do what you need in order to run your business.

Host Now

Pin It on Pinterest