Instantly share code, notes, and snippets.

View functions.php
* This code allows you to use Buddypress' new user activation system in
* conjunction with the registration system in Paid Memberships Pro. When a
* user signs up, they will need to click on the link in their activation
* email before they can login to your site.
* This code needs to be added to functions.php in your theme.
* Make sure that the Buddypress plugin is activated and the Activate page is