summaryrefslogtreecommitdiff
path: root/snippets/oidc-reclaim.php
blob: 5ef40221faaa510d657ecae94d8563644a95d22e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/**
 * This code is in the public domain.
 *
 * This snipped integrates the OIDC connect button with WooCommerce
 * to allow importing the customer's shopping details via OIDC / Re:ClaimID
 */

// Modify OIDC connect button text for Reclaim:ID
add_filter('openid-connect-generic-login-button-text', function( $text ) {
    $text = __('Login with Re:ClaimID', 'gnutaler' );
    return $text;
});