Current WordPress user
wp_whoamiDisplay the current WordPress user and their roles/capabilities, so you can confirm which actions you're permitted to perform.
Instructions
Show the authenticated user on a site, including roles and capabilities. Use this to check what changes you are actually allowed to make.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Configured site name. Omit to use the default site. |