Custom shortcode
You can also create your own shortcodes using filter by adding shortcode name with prefix: yaymail_custom_shortcode_['name'] in file functions.php of your site's theme.
Note: Custom shortcode must use the prefix: yaymail_custom_shortcode_['name']. Custom shortcodes only work in emails when you place an actual order, they do not work when you send test emails.
Example 1:

You can copy the code from here:
Example 2:

You can copy the code from here:
You can see your custom shortcodes in the list here.

Last updated
Was this helpful?