approve

Description

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

Usage

<?php UM()->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 ); 
  UM()->user()->approve();
?>