/* USING S2 NOTIFICATIONS API * ADD SUBSCRIPTION DETAILS FOR USERS WITH 100% DISCOUNTS * using Signup Notification URL https://wmhca.org/?s2_signup_notification=yes&user_email=%%payer_email%%&coupon=%%coupon_code%% */ add_action( ‘init’, ‘s2_signup_notification’ ) ; function s2_signup_notification() { if ( ! empty( $_GET[‘s2_signup_notification’] ) && $_GET[‘s2_signup_notification’] === ‘yes’ ) { if( ! empty( $_GET[‘user_email’] ) && ! empty(
A simple, very lightweight login or logout menu that also adds an option for logged-out users to visit a registration/sign-up page. At some point we can follow up with a much more advanced and complicated approach involving re-direction and javascript.
Oddly, S2Member does not by default directly expose Subscription beginning and end dates, although it does expose a user profile field for setting the latter if desired. Site operators will like to be able to view that data, whether in profile pages or as output in custom lists and tables.