You don’t need to send any additional data, since the user cookies (which are used for authentication) will be sent by default.
You have access to all the WP functions, including current_user_can().
Related Posts:
- Editor can create any new user except administrator
- Remove Ability for Other Users to View Administrator in User List?
- Groups of capabilities: users with multiple roles?
- User-edit role setting distinct from wp_capabilities? [closed]
- What’s the difference between the capability remove_users and delete_users?
- How to let contributors to create a new revision(draft) editing their published posts
- Disallowing Users of a Custom Role from Deleting or Adding Administrators?
- How to update user role without logout
- How to check user role without using current_user_can()
- Do not allow users to create new posts and pages
- \WP_User Object | What’s the Difference Between {caps} and {allcaps}?
- How to enable the theme editor cap for an editor role?
- How to assign capabilities to user NOT to User Role
- How-to Delay The Capability To Publish Posts?
- Is there a simple way to manage capabilities per user?
- Prevent Admin user to edit/see super admin from users list
- Creating a Front-end based User Search
- current user can edit user?
- Get User Role by ID not working
- Getting users by specific capability, not role
- Restricted registrations or removing the ability to edit your password/email
- Are User Levels Still Currently Used?
- Remove Capabilities from WP admin for specific user role
- Add a role and give admin priviledges
- Where are $current_user->allcaps set?
- How can I prevent certain custom roles from seeing other custom roles on the user list page?
- What’s the correct way to add capabilites to user roles?
- Can I Create a Second Admin Level User Role?
- Custom capability for a single user
- Privilege to recover trashed posts
- Assigning multiple or additional capabilities to specific users or how to create additional roles like bbpress roles?
- how do I add role and capability after I create a new user
- current_user_can() causing critical error
- How to make WordPress ‘editor’ role to list/view/add/edit users only with the role ‘author’?
- Author Error “Sorry, you are not allowed to access this page.”
- fine-grained capabilities for user related capabilities
- Disabling user capability to edit_posts or delete_posts in the front-end
- Groups roles & capabilities
- Subscriber role – blank page
- No one can edit post/pages by Administrator
- current_user_can() returning true for capability when the user and role do not have the capability
- If the current user is an administrator or editor
- How do I add a field on the Users profile? For example, country, age etc
- Is there a way to merge two users?
- How to restrict access to uploaded files?
- Best way to send users password?
- How to discover and delete unused accounts?
- Multi-steps WordPress registration : in 4 steps how to?
- Allow guests to save favourite pages?
- Basic auth WordPress REST API dilemma
- WordPress keeps asking for connection information in localhost
- importing users where password is provided as md5 + much metadata
- How can I secure a WordPress blog using OpenID from a single provider?
- Redirect after login based on user role (custom login page)
- Can I create users that have access to *some* other users posts instead of all other users posts?
- My custom page template with is_user_logged_in() does not detect that I’m logged in
- Total Word Count For Posts And Comments By One Author
- Delete user from frontend
- Share user table from WP with Drupal
- How can I allow password reset based on logins containing the @ character?
- Register new user in the frontend
- Force logout ALL users at a certain time
- Show MD5 Password in user section
- RSS feed for a given user’s post?
- get_users() timeout on big userbase — options to divide query?
- Plugin for limiting user registration based on ip with expiry period?
- Split Blog Into Two Sections?
- how to update or refresh the wp user object?
- Roles for Custom Post Types
- Users managed to register on website with no register button?
- Getting author page slug from get_users() or get_userdata() functions
- Rewrite Rules and Login Issue
- User profile updates password even if not filled (Theme my login) in Firefox? [closed]
- users and usermeta table
- Getting the age of a users account
- Unable to change email address of admin on localhost
- Creating User Profiles using author.php
- How to let the users edit their user names?
- Allow admins to login as other users
- How to count total words for posts published by one author?
- Delete a user from frontend
- user login and its profile
- Get current logged-in user from external site
- Load Custom Field to User Profile as per User Role using Ajax
- Get UserInfo from WordPress
- How to display a calendar with events depending on the user?
- How to show different pages for different users
- Redirect /member/ to /member/user
- $user_login is not working if author has only 1 post
- WP_User object behaving strangely when used inside Admin Panel?
- Showing extra profile fields in admin – problem with underscore
- Insert query not working for non-logged in user
- Disallow user registration/checkout via Hotmail/Yahoo
- How to create a link to a user’s profile page
- Validate user meta and redirect
- Storing additional information about the user
- Current User Seeing Another Logged In User Info
- What techniques can a user employ to achieve a password rated “strong” in the WordPress password checker
- How to allow users to make quizzes or tests in WordPress?
- Can we get user profile page using user_id in the URL?