Skip to content

Commit

Permalink
Merge pull request #434 from xdavidwu/patch-1
Browse files Browse the repository at this point in the history
HOWTO.md: fix typo in alter-user-data example
  • Loading branch information
daggerhart committed Aug 31, 2022
2 parents 9b82afb + f5fee18 commit c4e42de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HOWTO.md
Expand Up @@ -225,7 +225,7 @@ Provides 2 arguments: the `$user_data` array that will be sent to `wp_insert_use
server.

```
add_filter('openid-connect-generic-alter-user-claim', function( $user_data, $user_claim ) {
add_filter('openid-connect-generic-alter-user-data', function( $user_data, $user_claim ) {
// Don't register any user with their real email address. Create a fake internal address.
if ( !empty( $user_data['user_email'] ) ) {
$email_array = explode( '@', $user_data['user_email'] );
Expand Down

0 comments on commit c4e42de

Please sign in to comment.