Search

Table of Contents

delete_private_pages

You are here:

What is the delete_private_pages permission in WordPress?

The delete_private_pages permission allows users to delete Pages written by any WordPress user, if they are in the Private status.

If users have the delete_private_pages permission, they will see the red “Trash” link under Pages in the Private status. This includes Pages where they are the author and also Pages where another user is the author.

Delete Private Page
Delete Private Page

Users with the delete_private_pages permission will also see a “Move to Trash” button when editing private Pages:

Move To Trash Private Page
Move To Trash Private Page

Who has the delete_private_pages permission?

The delete_private_pages permission is available on single WordPress sites and on multisite networks.

By default, the delete_private_pages permission is given to Super Admins, Administrators, and Editors.

Subscribers and Contributors can not delete private Pages.


How to control who has the delete_private_pages permission

You can control who has the delete_private_pagees permission by installing the PublishPress Capabilities plugin.

  • After installing PublishPress Capabilities, go to “Capabilities” in your WordPress admin menu.
  • Choose the role you want to edit from the “Select Role to View / Edit” box.
  • Check or uncheck the box in the “Pages” row of the “Delete private” column.
Delete Private Pages Box
Delete Private Posts Box

All the WordPress permissions for Pages

Professional publishing plugins for WordPress! Get PublishPress