Hello @twisted1919,
I was checking how to make campaign web version URL social sharing compatible especially using
og tags
I found out that MW have controller
CampaignsController.php
with function Web_version
I want to extend this controller ad add OG tags , i think I have to write code like bellow
$emailContent = CampaignHelper::injectPreheader($emailContent, $campaign->option->preheader, $campaign);
is this correct way ?
also, how can i get campaign subject and campaign first image?
Thanks
I was checking how to make campaign web version URL social sharing compatible especially using
og tags
I found out that MW have controller
CampaignsController.php
with function Web_version
I want to extend this controller ad add OG tags , i think I have to write code like bellow
$emailContent = CampaignHelper::injectPreheader($emailContent, $campaign->option->preheader, $campaign);
is this correct way ?
also, how can i get campaign subject and campaign first image?
Thanks