Customize Roles & Capabilities

* Customize Roles & Capabilities
* @package Dachis
* @subpackage Core Functionality
* @version 1.0
* @author Bill Erickson <[email protected]>
* @copyright Copyright (c) 2011, Bill Erickson
* @license GNU Public License
add_action( 'admin_init', 'be_contributor_upload_files' );
* Add 'upload_files' capability to 'contributor' role
* @author Bill Erickson
* @link
function be_contributor_upload_files() {
$edit_contributor = get_role('contributor');
view raw hosted with ❤ by GitHub

Bill Erickson

Bill Erickson is a freelance WordPress developer and a contributing developer to the Genesis framework. For the past 14 years he has worked with attorneys, publishers, corporations, and non-profits, building custom websites tailored to their needs and goals.

Ready to upgrade your website?

I build custom WordPress websites that look great and are easy to manage.

Let's Talk