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

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