2017 © Pedro Peláez
 

wordpress-plugin custom-caps

image

britco/custom-caps

  • Tuesday, November 24, 2015
  • by pdufour
  • Repository
  • 14 Watchers
  • 0 Stars
  • 62 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

custom-caps

Circle CI, (*1)

Adds ability to edit custom capabilities for users in the admin. Why this isn't in core is beyond me., (*2)

How to use

Register a new capability:, (*3)

add_filter('custom_caps', function($caps) {
  $caps[] = 'create_post_tag_terms';
  return $caps;
});

$caps is an array of custom capabilities (caps) that admins should be able to edit., (*4)

That's it! Now you can edit that capability for users by going to edit user screen., (*5)

Before, (*6)

image, (*7)

After, (*8)

image, (*9)

The Versions

24/11 2015

dev-master

9999999-dev

  Sources   Download

MIT

The Requires

 

by Paul Dufour

24/11 2015

v0.5.9

0.5.9.0

  Sources   Download

MIT

The Requires

 

by Paul Dufour

24/11 2015

v0.5.8

0.5.8.0

  Sources   Download

MIT

The Requires

 

by Paul Dufour