Customize suspended profile message for RCP Ultimate Member

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:

This function is an example of how the suspended profile message can be modified.

function custom_expired_message( $message ) {
$newMessage = __( 'This account is expired.', 'rcp-ultimate-member' );
if ( um_is_myprofile() ) {
$newMessage = __( 'Your account is expired!', 'rcp-ultimate-member' );
$message = sprintf( '<div class="um-field-error">%s</div>', $newMessage );
return $message;
add_filter( 'rcpum_expired_member_message', 'custom_expired_message' );
Have more questions? Submit a request
Powered by Zendesk