Filter: mc_user_permissions

apply_filters( 'mc_user_permissions', $permissions, $category, $user ) → {array}

Filter permissions for users editing a category.

Parameters:
Name Type Description
$permissions array

User meta data for this user's category permissions.

$category int

Category ID.

$user int

User ID.

Source:
Returns:

Array of categories this user can edit.

Type
array