Skip to content

Move SSO event listeners to the SSO module #7

@wpscholar

Description

@wpscholar

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions