Custom Shortcode: Sender Meta
-
Hello,
I have a question regarding custom MailPoet shortcodes. Newsletters are being sent by numerous different users and I wanted to include an email signature that would be saved to the senders user account as custom user meta. I am attempting to insert this signature as a custom shortcode using the example provided at https://support.mailpoet.com/knowledgebase/hook-to-add-your-own-shortcode/This is what I have attempted without success.
if ($tag_value === 'my_name') { $replacement = get_user_meta('display_name'); }
Any help would be greatly appreciated.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Custom Shortcode: Sender Meta’ is closed to new replies.