summaryrefslogtreecommitdiff
path: root/snippets/oidc-reclaim.php
diff options
context:
space:
mode:
Diffstat (limited to 'snippets/oidc-reclaim.php')
-rw-r--r--snippets/oidc-reclaim.php22
1 files changed, 13 insertions, 9 deletions
diff --git a/snippets/oidc-reclaim.php b/snippets/oidc-reclaim.php
index 5ef4022..ad8e4d8 100644
--- a/snippets/oidc-reclaim.php
+++ b/snippets/oidc-reclaim.php
@@ -1,12 +1,16 @@
+<?php
/**
- * 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
+ * License: Public domain.
+ * Description: This snipped integrates the OIDC connect button with WooCommerce
+ * to allow importing the customer's shopping details via OIDC / Re:ClaimID.
+ * Author Christian Grothoff <grothoff@taler.net>
*/
-// 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;
-});
+// 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;
+ }
+);