MainWP Community

Disable all AffiliateWP emails

Disable all AffiliateWP emails on child sites.

Snippet Type

Execute on Child Sites

Snippet

function am_affwp_disable_all_emails() {
	return true;
}
add_filter( 'affwp_disable_all_emails', 'am_affwp_disable_all_emails' );
1 Like