-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
401 Unauthorized rest API with admin access #1502
Comments
cc: @sapayth |
hello @fr33k3v1n0, Thank you for trying out the API. You just need to pass the nonce in the header I believe. Feel free to notify us of any queries. |
ok thank you. but where can i found this nonce?? |
function wpuf_admin_role() {
return apply_filters( 'wpuf_admin_role', 'manage_options' );
} i can not figure out where wpuf_admin_role is added |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hello. i'm login as admin on my wordpress website.
i try to use rest api endpoint for wp user frontend routes to get all subscription, but a got 41 Unauthorized, i still have admin access.
don't now why??
request:
response
The text was updated successfully, but these errors were encountered: