The capability is delete_post
, you can see it in source here.
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?
- Automatically delete inactive users after 2 months
- 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?
- Force display name as full name
- How to update user role without logout
- How to check user role without using current_user_can()
- How to discover and delete unused accounts?
- Allow guests to save favourite pages?
- 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 do I properly format the user_role array?
- How-to Delay The Capability To Publish Posts?
- User fields that can be edited by administrator?
- Is there a simple way to manage capabilities per user?
- Prevent Admin user to edit/see super admin from users list
- Does wp_delete_user() remove all user content?
- current user can edit user?
- Get User Role by ID not working
- Getting users by specific capability, not role
- How to delete all post and attachments of a user when I delete it?
- Restricted registrations or removing the ability to edit your password/email
- Are User Levels Still Currently Used?
- Bulk delete users from a csv list
- Does an AJAX call on the Admin Side Automatically include the User Data/Capabilities?
- 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?
- Restrict access to non-wordpress section of site with user roles?
- What’s the correct way to add capabilites to user roles?
- Can I Create a Second Admin Level User Role?
- Delete a user from frontend
- Custom capability for a single user
- New User Save Filter
- 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
- Confirmation required on email change
- LEFT JOIN, INNER OUTER JOIN, LEFT OUTER JOIN is driving me crazy. Please help?
- Recover the user that have been deleted
- How to check that if current user (ID) has posts or not
- Extra User Profile Field Upload File / Image
- How to get the Role Name of the current user? (WordPress)
- how to get recent registered author id?
- Why don’t first_name and last_name appear when you print_r the WP_User object?
- Set user loggin status?
- Authenticate with a Rails app?
- Send Email to Users after Deleting Account
- Call to undefined function wp_insert_user()
- *wpupdateuser* user_login in my WordPress database
- Updating user meta
- Changing a username
- Change the user_login at registration
- Error: How to allow the “contributor” to upload media in wordpress
- Delete users from multisite after they have not logged in for a set amount of time?
- Where is the information about the authors for articles stored?
- Restrict access of admin uploads to certain logged-in users?
- how to know when the user is in specific part of the website and when he leaves that part and display the data in the admin dashboard
- Find user by nicename and open profile
- Custom default filtering in the user admin panel disables the other sortable columns
- Creating user without username and password
- Is this code true or not
- Check for valid email after user inactivity?
- How do I let contributors edit their posts after being approved once?
- Custom Comment Notifications Fire on each Page Load
- Fix ‘Add Role’ Option not there in wordpress 5.2.2
- Check if user is logged in via JS? [duplicate]
- Page for logged in user to Edit/Delete their own content?
- How can I set wp_dropdown_users so that it shows only authors?
- WordPress 5.8 – Hide or Remove personal fields from admin Profile page
- Restricting wordpress login sessions for a web app
- change user password REST API
- Find count of WordPress users by role and search string for user name
- Append USER ID to an outbound link?
- How to destroy all user sessions via WP-CLI
- Is a list of user names or IDs in a custom profile field the best way to create a followers list?
- view and update form only for registered users
- Redirect based on log-in status per JavaScript
- i need to let a user to add a role from a frontend form
- Integrating Facebook Registration (and Login) on a WordPress page
- Create users from frontend without password
- How to get user contact info
- Why does a super admin on multi site get a rest_user_invalid_id error code when requesting user details through REST?
- How to disable plugin capability : “create new category”
- Set a minimal number for next user_id