Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Nitesh

    (@nitesh_singh)

    I dont think I understand what you are trying to do, kindly elaborate with a use-case.

    Thread Starter robidos

    (@derby33)

    i have installed the sns plugin, 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

    (@nitesh_singh)

    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.