Merge pull request #191 from dxw/feature/login-button-url-filter

Add filter for login form button URL
isekai
Jonathan Daggerhart 5 years ago committed by GitHub
commit dc41454283
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -133,7 +133,7 @@ class OpenID_Connect_Generic_Login_Form {
*/
function make_login_button() {
$text = apply_filters( 'openid-connect-generic-login-button-text', __( 'Login with OpenID Connect' ) );
$href = $this->client_wrapper->get_authentication_url();
$href = apply_filters( 'openid-connect-generic-login-button-url', $this->client_wrapper->get_authentication_url() );
ob_start();
?>

Loading…
Cancel
Save