Skip to content

Commit

Permalink
We're not accessing the user, but the client's name
Browse files Browse the repository at this point in the history
  • Loading branch information
psrpinto committed Sep 12, 2022
1 parent 20581f7 commit 3a211fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ wp-content/themes/my-theme/
└──── forbidden.php
```

Templates are passed a single `$data` variable containing the values necessary to render said template. For example, you can access the current user as follows:
Templates are passed a single `$data` variable containing the values necessary to render said template. For example, you can access the name of the OIDC client as follows:

```php
// wp-content/themes/my-theme/main.php
Expand Down

0 comments on commit 3a211fa

Please sign in to comment.