Usage:

This module will delete a WordPress user on request from an ActiveCampaign HTTP POST / webhook.

Unless otherwise specified, all posts and pages authored by this user will also be deleted.

Parameters:

mbr_clearuser=SECURITY_CODE This sets the action to be performed.
reassign=norman@gmail.com This additional parameter prevents posts/pages from being deleted along with the user. When used, it will reassign all posts/pages to the WP user whose email address is provided.

Example:

http://www.yoursite.com/?mbr_clearuser=ONE_OF_YOUR_SECURITY_CODES
http://www.yoursite.com/?mbr_clearuser=ONE_OF_YOUR_SECURITY_CODES&reassign=john@gmail.com

Note:

In all examples provided, “SECURITY_CODE” stands for one of the validation codes you defined in “ActiveMember360 >> Plugin Options >> Main Settings >> Security Codes” These are used to authenticate the request.