Skip to content

Instantly share code, notes, and snippets.

Thomas Sjolshagen eighty20results

Block or report user

Report or block eighty20results

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@eighty20results
eighty20results / pmpro_ld2aff.php
Last active Oct 23, 2018 — forked from strangerstudios/pmpro_ld2aff.php
Link Paid Memberships Pro discount codes to affiliate accounts from another plugin/service.
View pmpro_ld2aff.php
<?php
/*
Plugin Name: E20R - Link PMPro Discount Codes to Affiliate Accounts
Plugin URI: https://eighty20results.com/paid-memberships-pro/do-it-for-me/
Description: Link a PMPro Discount Code to the account of an affiliate
Version: 1.0
Requires at least: 4.5
Tested up to: 4.9.8
Author: Eighty / 20 Results by Wicked Strong Chicks, LLC <thomas@eighty20results.com>
Author URI: https://eighty20results.com/thomas-sjolshagen/
@eighty20results
eighty20results / pmpro_cancelled_level.php
Last active Oct 23, 2018 — forked from strangerstudios/pmpro_cancelled_level.php
Place a PMPro member in another level when they cancel.
View pmpro_cancelled_level.php
<?php
/*
Plugin Name: Eighty/20 Results: Assign free level when cancelling
Plugin URI: https://eighty20results.com/paid-memberships-pro/do-it-for-me/
Description: Custom code to configure a default member level for a user who cancels
Version: 1.0
Requires at least: 4.5
Tested up to: 4.9.8
Author: Eighty / 20 Results by Wicked Strong Chicks, LLC <thomas@eighty20results.com>
Author URI: https://eighty20results.com/thomas-sjolshagen/
@eighty20results
eighty20results / pmpro-custom-tax.php
Last active Jan 1, 2017 — forked from strangerstudios/pmpro-customizations.php
Tax solution for British Columbia, Canada to be used with Paid Memberships Pro
View pmpro-custom-tax.php
<?php
/*
Plugin Name: PMPro Custom Tax
Plugin URI: http://www.paidmembershipspro.com/wp/pmpro-customizations/
Description: Customizations for PMPro
Version: .1
Author: Stranger Studios
Author URI: http://www.strangerstudios.com
*/
/*
@eighty20results
eighty20results / pmpro_multi_payment_options.php
Last active Nov 18, 2016 — forked from strangerstudios/my_init_pmpro_payment_options.php
Get PMPro Pay By Check and PMPro Add PayPal Express to work together.
View pmpro_multi_payment_options.php
/*
Plugin Name: Paid Memberships Pro - Pay By Check and PayPal Express at checkout
Plugin URI: http://eighty20results.com/paid-memberships-pro/do-it-for-me/
Description: More gracefully handle Pay By Check and PayPal Express as payment options during checkout
Version: 1.0
Author: Thomas Sjoslhagen @ Paid Memberships Pro <thomas@eighty20results.com>
Author URI: http://eighty20results.com/thomas-sjolshagen
*/
/*
Get PMPro Pay By Check and PMPro Add PayPal Express to work together.
@eighty20results
eighty20results / pmpro_cancel_on_next_payments_date.php
Last active Jul 17, 2019 — forked from strangerstudios/pmpro_cancel_on_next_payments_date.php
Change PMPro membership cancellation to set expiration date to be the end of the payment period, instead of cancelling immediately (except when payment gateway is causing cancellation)
View pmpro_cancel_on_next_payments_date.php
<?php
/*
Change cancellation to set expiration date et expiration date to be the end of the current month, instead of cancelling immediately.
Assumes orders are generated for each payment (i.e. your webhooks/etc are setup correctly).
*/
function e20r_stripe_delete_action( $user_id ) {
You can’t perform that action at this time.