---
title: "rcp_access_levels"
source: "https://docs.nexcess.com/software/kadence/restrict-content-pro/rcp_access_levels/"
description: "Coming soon: Restrict Content Pro is becoming Kadence Memberships. You may see both names used while we update the product, documentation, and customer experien…"
vertical: "Software"
area: "Restrict Content Pro"
date: "2023-04-20"
last_modified: "2026-08-12"
---

# rcp_access_levels

**Coming soon:** Restrict Content Pro is becoming Kadence Memberships. You may see both names used while we update the product, documentation, and customer experience.

Note: This is part of the developer docs and is considered custom code. Unfortunately, we cannot provide support for custom code at this time as we do not have the additional resources that would be necessary to provide support for custom code. If you need assistance with this, please reach out to our list of consultants for further assistance: https://codeable.io/developers/restrict-content-pro/ Filters the available access levels. Parameters: $levels (array) – Array of numerical access levels. The key and value should both be the same number. Example: This increases the available access levels to 20. function ag\_rcp\_access\_levels( $levels ) { for ( $i = 11; $i <= 20; $i++ ) { $levels\[ $i \] = $i; } return $levels; } add\_filter( 'rcp\_access\_levels', 'ag\_rcp\_access\_levels' );
