rcp_edit_membership_after

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/
Used to add additional content to the “Membership Details” page.

Parameters:

$membership (RCP_Membership) – Membership object.

Example:
Displays a text field showing the value of the “company” membership meta key.
function ag_rcp_edit_membership_after( $membership ) {
$meta_value = rcp_get_membership_meta( $membership->get_id(), ‘company’, true ); // Your value here.
?>

Have more questions?

Submit a request