Home > CMS- Content Management System > WordPress > Roles and capabilities of User in wordpress

Roles and capabilities of User in wordpress

This post was most recently updated on July 31st, 2024

In wordpress you can define different user roles having specific capabilities as per requirement.

Following link gives you the brief idea about various roles and their capabilities.

WordPress user roles and capabilities

You can also create new user role can say custom user role using wordpress function reference.

<?php add_role( $role, $display_name, $capabilities ); ?>

The above example shows the idea of creating new user role in wordpress, in that read, edit_post, delete_post are nothing but the capabilities. In this way, you can add the new user role with different capabilities.

This Article is TAGGED in . BOOKMARK THE permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">