Global Merge Tags not being populated?
-
Hi again!
Still loving the plugin – and still extending it. I now have a custom Trigger, with a custom Carrier, and a custom Recipient, which all fire to generate an internal mail within the site by populating a DB table.
This works perfectly if I use a merge tag as defined in the Trigger (such as {current_user_id}).
But, if I use a global merge tag, they get inserted as blank – same as if I use a non-existent merge tag (like {not_the_current_user_id}).
In my debug settings, I get the following:
recipients Array ( [0] => Array ( [type] => recipient_user_id [recipient] => ) [1] => Array ( [type] => recipient_user_id [recipient] => 499 ) [2] => Array ( [type] => recipient_user_id [recipient] => ) )
The first & third values are global merge tags, that should be an array of IDs.
Am I missing an option somewhere in my custom Carrier, or custom Trigger, somewhere to load in the global merge tags?
Thanks.
- The topic ‘Global Merge Tags not being populated?’ is closed to new replies.