Skip to content

Instantly share code, notes, and snippets.

View davekellam's full-sized avatar

Dave Kellam davekellam

View GitHub Profile
@jchristopher
jchristopher / class-iti-cap-limiter.php
Created March 7, 2012 23:34
[WordPress] Prevents the creation of full Administrators by client accounts
<?php
/**
* Prevents the creation of full Administrators by client accounts
* Forked from JPB_User_Caps (unable to locate origin)
*
* @return void
* @author Jonathan Christopher
*/
if( is_admin() )
<?php
/**
* Handle meta boxes that are used on multiple content types.
*
*/
class CTRS_Meta_Boxes {
private $_blacklisted_post_types = array(
'ctrs-people',