<?php

/**
 * Disable all emails in AffiliateWP.
 *
 * @link https://andrew.dev/snippets/disable-all-affiliatewp-emails/
 */
function am_affwp_disable_all_emails() {
	return true;
}
add_filter( 'affwp_disable_all_emails', 'am_affwp_disable_all_emails' );

Leave a Reply

Your email address will not be published. Required fields are marked *