Documentation

View the installation guide, browse the Knowledge Base, find out about hooks, get support

Available since: 1.0

organizewp_manager_capability

View Parameters »

There are certain settings within OrganizeWP that are accessible only to what it considers to be a manager. A managerial role in OrganizeWP is defined by a User Capability.

The default is manage_options but you can change that to be anything you’d like.

Example: To change the capability required to modify OrganizeWP’s settings, add the following to your active theme’s functions.php:

<?php
add_filter( 'organizewp_manager_capability', function( $capability ) {
// Return the capability you'd like to use to grant access to OrganizeWP's settings.
return 'manage_options';
} );
view raw functions.php hosted with ❤ by GitHub

Parameters

Parameter Type Description
$capability String

The capability required to modify OrganizeWP’s settings

Declutter your WordPress Admin, instantly!

Be empowered when editing your content instead of feeling lost, spend more time on more important things. Get organized today!

Get OrganizeWP