WordPress Put Request to Remote API
/** * SET SUBSCRIPTION ACCESS AT REMOTE API * Utilizes “PUT” method * {{}} = contents provided by API host/administration, remove brackets when replacing *… Read More »WordPress Put Request to Remote API
/** * SET SUBSCRIPTION ACCESS AT REMOTE API * Utilizes “PUT” method * {{}} = contents provided by API host/administration, remove brackets when replacing *… Read More »WordPress Put Request to Remote API
/** * RETURN AN ARRAY OF USER DATA FROM REMOTE API * {{}} = contents provided by API host/administration, remove brackets when replacing *… Read More »WordPress Return User Data by Remote Request with Bearer Authorization
/* 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’… Read More »S2Member API – Signup Notifications
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.
Read More »Stripe and S2Member – Update Subscription Metadata
To complete Full Site Integration at Stackpath for your GoDaddy-hosted site, you’ll need to adjust three DNS Settings: The “A” record will point to the… Read More »Stackpath Full Site Integration: Sample DNS Settings for GoDaddy
/*
* PRODUCE A LIST AFTER VARIATIONS TABLE OF UNAVAILABLE PRODUCT VARIATIONS, BY NAME
* along with CSS formatting, allows for restoration of combined pre-WooCommerce 3 and
* Variations Table plugin display features
* meaning Discus staff will not have to change inventory or customary practices
*/
…because the S2Member generation of field html includes inline “!important” codes that make them impossible to style via CSS, and because the checkbox output includes… Read More »Remove Non-Breaking Space and !important from Custom Field Output in S2Member Profiles