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
WordPress Plugins
Start selling products, sending newsletters, publishing ads, and more through your own WordPress website using our premium WordPress plugins.