Remove Posts Quick Edit link for specific user role? WP 3.3

Based on this answer, yours was easy: add_filter(‘post_row_actions’, ‘wpse_49800_qe_download_link’, 10, 2); add_filter(‘page_row_actions’, ‘wpse_49800_qe_download_link’, 10, 2); // for Custom Post Types // add_filter(‘cpt_name_row_actions’, ‘wpse_49800_qe_download_link’, 10, 2); function wpse_49800_qe_download_link($actions, $post) { unset($actions[‘inline hide-if-no-js’],$actions[‘trash’]); return $actions; } Notice that you don’t mention the ‘Trash’, so it’s being removed as well. Plugin of interest Adminimize is able to hide … Read more

Allow Author role to publish one post type and not another

When the post type is registered, http://codex.wordpress.org/Function_Reference/register_post_type one can specify custom ‘capabilities’. eg I have an events post type, with event as a base for the capabilities, so automatically, there is a matching set like the page/post capabilties. Then one can use justin tadlock’s members plugin to assign capabilities to roles. Assign ‘create’ but not … Read more

Allow authors to post only in categories they create in WordPress

This little plugin shows the user role ‘author’ only its own categories & posts. So you can edit it for your own post-type and taxonomy. /* Plugin Name: Show own categories Description: This plugin shows the user role ‘author’ only its own categories & posts Version: 0.1 Author: Soren Wrede License: GPL2 License URI: https://www.gnu.org/licenses/gpl-2.0.html … Read more

Allow User to Edit Page Based on their Email

I think the simplest way to do this would be to give the users a customized Author role when they register. The capabilities of the default Author role are that they can only create and edit their own posts. You’ll have to customize this to enable capabilities for your ‘class’ custom post type, not just … Read more

How does WordPress update plugins, without running into permissions issues?

WP routinely runs into permission issues with updates. Whenever its Filesystem API detects that file operations required cannot be performed it requests login credentials to perform update over FTP or SSH. Since third party automated code cannot make such request interactively that’s the reason it likely just fails. There is number of Upgrade Constants that … Read more