The PublishPress Blog

How to Restrict Access to LearnDash Menus for a User Role

We had an interesting question from one of our users who is using the LearnDash plugin for the WordPress Learning Management system. They wanted to lock down many of the LearnDash features and create a user role role that can only access the “Lessons” and “Topics” submenus in LearnDash. This is possible thanks to the…

How to Use the unfiltered_html Capability in WordPress

In this tutorial, I’m going to introduce you to the unfiltered_html permission. This permission is a security feature in WordPress that prevents users from using tags such as iframe and embed, plus also more advanced code such as Javascript. This unfiltered_html permission could be very dangerous in the wrong hands, so please don’t give this…

Introducing WordPress OAuth Plugins and Integrations

OAuth is short for “Open Authorization” and it is an open standard for user management. Anyone can use the OAuth protocols and frameworks. You can find OAuth services available via small WordPress plugins and also large multinational companies. For example, when you sign up for an app it may offer the chance to login using…

How to Use Private Posts and Pages in WordPress

“Private” is one of eight post statuses available in WordPress. These statuses control whether WordPress posts are visible to the entire world, waiting for moderation, or sent to the trash to await deletion. When you write in WordPress, you will most commonly see the Draft, Pending Review and Publish statuses. The Private status is used…

Show the PublishPress Permissions Metabox For A User Role

In a previous blog post, we talked about hiding the Permissions metabox for a specific user role. Now we will talk about the opposite: showing the PublishPress Permissions metabox for a specific user role. In this case, we will take an example of the Editor role. By default, the Editor role only gets access to…