deactivate

Description

This method deactivates a user's membership and sends them an optional e-mail.

Usage

 <?php UM()->user()->deactivate(); ?>

Returns

Deactivates a user membership.

Examples

Deactivate a user membership with the following example

<?php
um_fetch_user( 32 );
 UM()->user()->deactivate(); 
?>