Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move SSO event listeners to the SSO module #7

Open
wpscholar opened this issue Aug 25, 2022 · 0 comments
Open

Move SSO event listeners to the SSO module #7

wpscholar opened this issue Aug 25, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@wpscholar
Copy link
Member

This is located in the src/Listeners/BluehostPlugin.php file:

// 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' ) );

We need to create a Listeners/SSO.php file in the SSO module and register it as a listener via the newfold_data_listeners hook.

@wpscholar wpscholar added the enhancement New feature or request label Aug 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant