approve

Description

This method approves a user membership and sends them an optional welcome/approval e-mail.

Usage

<?php $ultimatemember->user->approve(); ?>

Returns

Approves a user membership.

Examples

Approve a pending user and allow him to sign-in to your site.

<?php
um_fetch_user( 352 );
$ultimatemember->user->approve();
?>