• Resolved javiersl

    (@javiersl)


    I need to use the shortcode and php, to do what I do with do_shortcode,

    example:
    <?php echo do_shortcode(‘[stripe name=”The Awesome Store” description=”The Book of Awesomeness” amount=”500″]’) ;?>

    But I need to put a variable in the amount field

    example:
    <?php echo do_shortcode(‘[stripe name=”The Awesome Store” description=”The Book of Awesomeness” amount=”$amount”]’) ;?>

    How I can do to work with a variable in the amount field?

    Thanks

    https://www.ads-software.com/plugins/stripe/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘shortcode in php’ is closed to new replies.