Having many authors on your team helps a website generate content quickly. However, sometimes posts will be deleted by the authors, Australia WhatsApp Number either accidentally or on purpose. As a result, your site could lose an important article that generates a lot of visitor traffic. This is why you need to restrict post deletion in WordPress.
Although a site-wide backup gives you the ability to recover deleted content, you shouldn’t have to perform this procedure if a single important article is deleted. Depending on the size of the site, this may take some time. In this tutorial, I will show you how to prevent authors from deleting any WordPress post. You could go so far as to deny authors the ability to delete their own published articles.
Using Capability Manager Enhanced
Today, I’m going to introduce you to the Capability Manager Enhanced plugin. This is the same plugin used when configuring and creating custom user roles. It is a versatile tool that opens many doors for productivity and content protection.
First, you will need to install and activate the “Capability Manager Enhanced” plugin if you don’t already have it. Select Author from the list of roles. Your list is probably different from mine. It all depends on the plugins you have and if you have created custom roles. Be sure to select the correct one or you may hamper the performance of other users.
Capability Manager Enhanced is an amazing WordPress user authorization plugin. It offers the ability to modify who can do what in a myriad of situations. For example, you can allow editors to export, import, or even change themes.
By using the “Create a new role” option, you can give more functionality to specific authors. Let’s say you have authors who are more trustworthy or have seniority over others. Perhaps you could give them more flexibility and improved permissions when it comes to content management.
You can also create roles to separate groups of authors. What if you have a group writing on one topic while a few other writers focus on another? This can help keep your content management organized. By using the Copy Author Role option, you can protect the original WordPress settings. This is done by creating a new role name and clicking “Copy”.
Manually Prevent authors from Deleting Posts
This is a good alternative if you don’t want to make adjustments for a temp writer or guest blogger. Then you can make changes to the copy instead.
I suggest using the copy tool to keep the original role permissions intact.
Never underestimate the value of a good backup. This will help recover lost information in the event of a disaster. It can also help to reuse the same capabilities on other sites with the click of a mouse.
Instead of using a plugin, you can use coding to prevent authors from deleting posts in WordPress. If you are not used to making adjustments in PHP, I suggest you use the plugin mentioned above. It doesn’t take much to crash a website if you enter the wrong coding bits.