// SSO (Legacy)
add_action( 'eig_sso_success', array( $this, 'sso_success' ), 10, 2 );
add_action( 'eig_sso_fail', array( $this, 'sso_fail' ) );
// SSO
add_action( 'newfold_sso_success', array( $this, 'sso_success' ), 10, 2 );
add_action( 'newfold_sso_fail', array( $this, 'sso_fail' ) );
This is located in the
src/Listeners/BluehostPlugin.phpfile:We need to create a
Listeners/SSO.phpfile in the SSO module and register it as a listener via thenewfold_data_listenershook.