I am using s2Member Pro. I want to create a membership that will support till 15th April of the current year and there will not be any recurring payment per month in that particular year.
My shortcode is
$now = strtotime('now');
$fixed_eot_time = strtotime("2019-04-15 23:59:59");
$days_until_fixed_eot_time = round(($fixed_eot_time - $now) / DAY_IN_SECONDS);
[s2Member-Pro-PayPal-Form level="1" desc="$0.01 USD / Access Until April 15th, 2019" ra="15" rr="BN" rt="D" rp="[php]echo $days_until_fixed_eot_time;[/php]" accept_coupons="1" /]
Once the user's membership finished that user should get a renew button on member options page but I could not find any shortcode for this.
- Is that possible to add renew button anyhow in s2member?
- As per my requirements, the shortcode I have created is a right or should I change something?