Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Michael Beil michaelbeil

🏠
Working from home
Block or report user

Report or block michaelbeil

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
@michaelbeil
michaelbeil / 1.php
Created Jul 14, 2019 — forked from amdrew/1.php
AffiliateWP - Send the affiliate registration admin email to different email address, or multiple email addresses.
View 1.php
<?php
/**
* Send admin notification to a different email address
*/
function affwp_custom_registration_admin_email( $email ) {
// add the email here
$email = 'email@yourdomain.com';
return $email;
@michaelbeil
michaelbeil / only-allow-referral-and-approval-emails.php
Created Dec 1, 2015
Disables rejection and registration emails
View only-allow-referral-and-approval-emails.php
<?php
/**
* Plugin Name: AffiliateWP - Allow Referral and Approval Emails
* Plugin URI: http://affiliatewp.com
* Description: Disables rejection and registration emails
* Author: Michael Beil
* Author URI: http://affiliatewp.com
* Version: 1.0
*/
You can’t perform that action at this time.