FEATURE: Add %%from%% tag to be used in email
-
I’m currently trying to alter email to have the sender address in the content. This could probably be done with own alter function in theme functions but is there a reason not to have this feature directly in the plugin? It would require these modifications:
ESSBOptionsStructureHelper::field_section_start(‘social’, ‘sharing-2’, __(‘Customize default mail message’, ‘essb’), __(‘You can customize texts to display when visitors share your content by mail button. To perform customization, you can use %%title%%, %%siteurl%%, %%permalink%%, %%image%% and %%from%% variables.’, ‘essb’), ”);
$message_body = preg_replace(array(‘#%%title%%#’, ‘#%%siteurl%%#’, ‘#%%permalink%%#’, ‘#%%image%%#’, ‘#%%from%%#’), array($title, $site_url, $url, $image, $from), $message_body);
- The topic ‘FEATURE: Add %%from%% tag to be used in email’ is closed to new replies.