remove_tags()

Overview

This function allows you to remove an array of tags (using tag IDs) from a user.

Remove tags from the current user

$tags = array(123, 456, 789);
wp_fusion()->user->remove_tags( $tags );

Remove tags from a specific user ID

$tags = array(123, 456, 789);
wp_fusion()->user->remove_tags( $tags, $user_id );

The function will return true if the tags were applied successfully, and false if there was a connection error or the user wasn’t found in the CRM.