Upgrade to the level/ levels defined in the “levels” parameter in a click of a button
Usage
All you need to do display this information is to insert the shortcode below to any post or page you like:
[wlss_add_to_levels_button levels="Level1,,Level2,,Level3"]
Parameters
You can add the below parameters to the shortcode in order to configure it better to your own membership site’s structure:
Parameter Name | Required / Optional | Description |
levels | Required | Levels names separated with a delimiter ,, |
delimiter | Optional | You can change the default delimiter ,, and use your own delimiter symbols [ delimiter=”your chosen symbol” ] |
label | Optional | The text that appears in the button. Default is “upgrade” but can be changed to any other text you like |
txn | Optional | Specify the transaction ID that appears in the edit user screen inside the “Transaction ID” field beside the specific level. You can change the text as you like. Default is “Upgrade Button”. |
redirect | Optional | The page you want to redirect members who click on the upgrade button. Default is the same page. [redirect=”your link here”] |
Example
[wlss_add_to_levels_button levels="Level 1,,Level 2" txn="Upgrade Button" redirect="http://yourdomain.com/welcome-to-the-premium-level"]