Custom User Role Updates
-
I have cloned the Contributor role to a new custom role on my site. When a user is set to my new custom role I can no longer edit their details via the WP REST API.
The regular Subscriber role works just fine.
What would I need to change in my custom role to allow the WP REST API search for a user with a particular email address.
https://mywebsite.com/wp-json/wp/v2/[email protected]
If I try this REST API request I get an empty Array []. If I set that user to a Subscriber Role, I can get all the details I’m after.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Custom User Role Updates’ is closed to new replies.