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:

rcp_is_pending_verification( $user_id = 0 )

This function checks if a user is pending email verification (see this article). It will return true if the member has not yet confirmed their email address. It will return false if the user has already confirmed it.


  • $user_id - ID of the user to check. If omitted, it users the ID of the current logged in user.

Return values:

  • true if the given user has not confirmed their email address.
  • false if the given user has confirmed their email address.

Example usage:

if ( rcp_is_active() && ! rcp_is_pending_verification() ) {
    // The current user has an active account and has verified their email address.
Have more questions? Submit a request
Powered by Zendesk