Skip to content

CKMSWP

CK MacLeod's WordPress
  • Contact

CKMSWP

CK MacLeod's WordPress
  • Contact
Thought Industries API Create and Update User

WordPress Put Request to Remote API

  • Use Cases
  • March 8, 2020April 19, 2020

/** * 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

Thought Industries API User Detail

WordPress Return User Data by Remote Request with Bearer Authorization

  • Use Cases
  • March 8, 2020March 8, 2020

  /** * 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

S2 Member API Signup Webhook

S2Member API – Signup Notifications

  • Use Cases
  • March 7, 2020

  /* 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

Simple Loginout Menu

Simple WordPress “Loginout or Register” Menu

  • Use Cases
  • March 7, 2020

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.

Read More »Simple WordPress “Loginout or Register” Menu

S2Member User Profile Fields

Stripe and S2Member – Update Subscription Metadata

  • Use Cases
  • March 7, 2020

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

Stackpath Full Site Integration: Sample DNS Settings for GoDaddy

  • Use Cases
  • October 6, 2019June 21, 2020

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

WooCommerce: Produce a list of variations associated with a product, by label, based on product availability.

  • Use Cases
  • October 6, 2019June 28, 2020

/*
* 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
*/

Things that happen when you upgrade your old-ish HDD to Samsung SDD

  • Hardware, Installation
  • September 15, 2019September 16, 2019

You correctly ascertain that you’ll need to purchase a mounting bracket separately, but it arrives without the screws needed for affixing the SDD to it…… Read More »Things that happen when you upgrade your old-ish HDD to Samsung SDD

Remove Non-Breaking Space and !important from Custom Field Output in S2Member Profiles

  • Code, Use Cases
  • September 14, 2019September 17, 2019

…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

  • « Previous
  • 1
  • 2

Tags

Advanced Custom Fields Date Format DIVI filter functions Full Site Integration get_gallery_image_ids() get_hook_prefix() is_user_logged_in() PHP Datetime Format Product Attributes Remote API Remote Request s2 API S2Member S2Member Notifications API Stack Overflow Stackpath Stripe Stripe API text/x-template user_registered Variable Products Vimeography Vue.js wc_get_formatted_variation() wc_get_order() WooCommerce woocommerce_available_variation woocommerce_before_shop_loop_item_title woocommerce_payment_complete woocommerce_product_variation woocommerce_save_product_variation woocommerce_variation_options_pricing woocommerce_wp_text_input() wp_get_attachment_image( ) wp_json_encode() wp_logout_url() wp_nav_menu_items wp_remote_get() wp_remote_post() wp_remote_request() wp_remote_retrieve_body() wp_remote_retrieve_response_code() ws_plugin__s2member_custom_field_gen ws_plugin__s2member_custom_field_gen_checkboxes_sep

Neve Theme (Child) |© 2020 CK MacLeod