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:

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.

For saving the custom value, you'll want to use the rcp_add_subscription action.


function rcpga_add_groups_checkbox_subscription_form() {
<tr class="form-field">
	<th scope="row" valign="top">
		<label for="rcpga-group-seats-allow"><?php _e( 'Allow Group Account', 'rcp-group-accounts' ); ?></label>
		<input id="rcpga-group-seats-allow" type="checkbox" name="rcpga-group-seats-allow" />
		<p class="description"><?php _e( 'Check to enable group accounts for this subscription level.', 'rcp-group-accounts' ); ?></p>
add_action( 'rcp_add_subscription_form', 'rcpga_add_groups_checkbox_subscription_form' );
Have more questions? Submit a request
Powered by Zendesk