Restrict Content Pro

rcp_add_subscription_form

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 content is provided as a resource within our developer documentation. Because custom code requires highly specific implementation, we encourage you to work with a qualified developer if you need guidance. You can find our recommended consultants here: https://codeable.io/developers/restrict-content-pro/

Used to inject content into the Add New Level table. This can be used to add a new field to the Add New Level form.

To save the custom value, use the rcp_add_subscription action.

Example

/**
 * Add a field to the Add New Level form.
 */
function rcpga_add_groups_checkbox_subscription_form() {
	?>
	<tr class="form-field">
		<th scope="row" valign="top">
			<label for="rcpga-group-seats-allow"><?php esc_html_e( 'Allow Group Account', 'rcp-group-accounts' ); ?></label>
		</th>
		<td>
			<input id="rcpga-group-seats-allow" type="checkbox" name="rcpga-group-seats-allow" />
			<p class="description"><?php esc_html_e( 'Check to enable group accounts for this subscription level.', 'rcp-group-accounts' ); ?></p>
		</td>
	</tr>
	<?php
}
add_action( 'rcp_add_subscription_form', 'rcpga_add_groups_checkbox_subscription_form' );
Last updated: September 11, 2026
Was this page helpful?
Thanks for the feedback!