Documentation

Paid Content Packages

Home / Shortcodes / Cancel Subscription Button

Cancel Subscription Button

This plugin comes with a shortcode to display a button to cancel subscription. You can use following shortcode to display the cancel subscription button.

Shortcode

Parameters:

  • merchant_id
    PayPal Merchant ID, you can get this info from PayPal Business Profile.
  • text
    You can specify button text, defaults to: Cancel Subscription
  • class
    You can specify button class. defaults to: btn btn-danger

PHP Code

If you are a developer or creating your own WordPress theme, you can call this shortcode via following PHP code: