Title: using plugin&#039;s and shortcode in email template
Last modified: August 21, 2016

---

# using plugin's and shortcode in email template

 *  Resolved [robidos](https://wordpress.org/support/users/derby33/)
 * (@derby33)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/using-plugins-and-shortcode-in-email-template/)
 * how can i add the sns or hoops “Scripts n Styles” shortcodes into the mail template.
   i have tried, to sns in the message.” [hoops name=\”include-some-file-or-code”\]”;
   and sends the plain shortcode instead of the content.
 * thanks
 * [http://wordpress.org/extend/plugins/ultimate-auction/](http://wordpress.org/extend/plugins/ultimate-auction/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Nitesh](https://wordpress.org/support/users/nitesh_singh/)
 * (@nitesh_singh)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/using-plugins-and-shortcode-in-email-template/#post-3894008)
 * I dont think I understand what you are trying to do, kindly elaborate with a 
   use-case.
 *  Thread Starter [robidos](https://wordpress.org/support/users/derby33/)
 * (@derby33)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/using-plugins-and-shortcode-in-email-template/#post-3894015)
 * i have installed the [sns plugin](http://wordpress.org/plugins/scripts-n-styles/),
   and have created hoops ([hoops name=test]), with extra auction sale terms and
   conditions, which i use front-end but also in other places the payment email 
   for the bidwinner or buyknow buyer (that one i resent manualy), but the wp hook
   is missing. luckily **i have found a solution** by using wordpress php do_shortcode();
 *  in the plugin editor (Editing ultimate-auction/email-template.php)
 * i now have;
 * >  $paypal_link .= “&bn=PP%2dBuyNowBF%3abtn_buynowCC_LG%2egif%3aNonHostedGuest”;
   > 
   > add_filter(‘widget_text’, ‘do_shortcode’); $extraline = do_shortcode (‘[hoops
   > name=test]’); $message .= ” yeah yeah hi some thing for you to pay and read
   > these conditions and terms BR> BR> <hr>’.$extraline.’ BR> and have a nice day
   > and such”;
 * and now i can use shortcodes too 🙂 if i need to update those extra terms for
   new buyers, this way i dont need to edit 2 files with the same text on different
   places, all i wil need do is edit the hoop. saves me time and error 🙂
 * try it, and you will see what i mean.
 *  Plugin Author [Nitesh](https://wordpress.org/support/users/nitesh_singh/)
 * (@nitesh_singh)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/using-plugins-and-shortcode-in-email-template/#post-3894030)
 * Glad it worked for you.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘using plugin's and shortcode in email template’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-auction/assets/icon-128x128.png?rev=1494738)
 * [Ultimate Wordpress Auction Plugin](https://wordpress.org/plugins/ultimate-auction/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-auction/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-auction/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-auction/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-auction/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-auction/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Nitesh](https://wordpress.org/support/users/nitesh_singh/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/using-plugins-and-shortcode-in-email-template/#post-3894030)
 * Status: resolved