summaryrefslogtreecommitdiff
path: root/snippets/oidc-reclaim.php
blob: 93c14f5ef91dd26c124a717f009e953149f3b9a8 (plain)
1
2
3
4
5
6
7
8
9
10
/**
 * 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;
});