Skip to main content

mbr/3rd_party_authentication

Usage

This filter hook enables you to use any third party service/process to validate a login.

If the filter returns the boolean TRUE the email/password authentication is passed.

Important

The contact must exist within ActiveCampaign for the authentication to be processed.

The contact will also need to satisfy the ActiveMember360 login requirements to authenticate and proceed.

Parameters

ParametersDescription
$resultBoolean set to TRUE or FALSE.
$user_emailVariable containing the current WordPress field value of user_email.
$passwordVariable containing the password entered by the user.

Examples

function my_mbr_3rd_party_authentication($result, $user_email, $password) {
// check email and password with your 3rd party provider like Shopify, Facebook or whoever.
// return TRUE; if email and password is validated by your 3rd party service.
$result = TRUE;
return $result;
}
add_filter('mbr/3rd_party_authentication', 'my_mbr_3rd_party_authentication',10,3);