PHPackages                             britco/custom-caps - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. britco/custom-caps

ActiveWordpress-plugin[Utility &amp; Helpers](/categories/utility)

britco/custom-caps
==================

v0.5.9(10y ago)072MITPHP

Since Nov 24Pushed 10y ago15 watchersCompare

[ Source](https://github.com/britco/custom-caps)[ Packagist](https://packagist.org/packages/britco/custom-caps)[ RSS](/packages/britco-custom-caps/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (3)Used By (0)

custom-caps
===========

[](#custom-caps)

[![Circle CI](https://camo.githubusercontent.com/7ad14b2c5fb3a0271496f87095343b5b04dfb1e9aa1ea7690df504bd4903feae/68747470733a2f2f636972636c6563692e636f6d2f67682f62726974636f2f637573746f6d2d636170732e7376673f7374796c653d737667)](https://circleci.com/gh/britco/custom-caps)

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

How to use
----------

[](#how-to-use)

Register a new capability:

```
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.

That's it! Now you can edit that capability for users by going to edit user screen.

**Before**

[![image](https://cloud.githubusercontent.com/assets/1239145/8657168/e3ba1262-2950-11e5-8168-083f5d24e6ee.png)](https://cloud.githubusercontent.com/assets/1239145/8657168/e3ba1262-2950-11e5-8168-083f5d24e6ee.png)

**After**

[![image](https://cloud.githubusercontent.com/assets/1239145/8657163/d96c2480-2950-11e5-944c-f5fd8bee549c.png)](https://cloud.githubusercontent.com/assets/1239145/8657163/d96c2480-2950-11e5-944c-f5fd8bee549c.png)

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

3874d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4ddc59ed11905f3ff2b2526bdfca72ca82f5353999d951ea2ea8176b098e3970?d=identicon)[pdufour](/maintainers/pdufour)

---

Top Contributors

[![pdufour](https://avatars.githubusercontent.com/u/1239145?v=4)](https://github.com/pdufour "pdufour (31 commits)")

### Embed Badge

![Health badge](/badges/britco-custom-caps/health.svg)

```
[![Health](https://phpackages.com/badges/britco-custom-caps/health.svg)](https://phpackages.com/packages/britco-custom-caps)
```

###  Alternatives

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.5k10](/packages/helsingborg-stad-municipio)[mediawiki/maps

Adds various mapping features to MediaWiki

84152.3k3](/packages/mediawiki-maps)[starcitizentools/citizen-skin

A beautiful, usable, responsive MediaWiki skin with in-depth extension support. Originally developed for the Star Citizen Wiki.

3376.6k](/packages/starcitizentools-citizen-skin)[civicrm/civicrm-drupal-8

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

19251.4k3](/packages/civicrm-civicrm-drupal-8)[altis/core

Core module for Altis

19228.0k3](/packages/altis-core)[pfefferle/wordpress-activitypub

The ActivityPub protocol is a decentralized social networking protocol based upon the ActivityStreams 2.0 data format.

5721.7k4](/packages/pfefferle-wordpress-activitypub)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
