has_tag()

Overview

This function determines whether the a user has a given tag. A tag ID or label can be provided.

if( wp_fusion()->user->has_tag( 'Paying Customer' ) ) {

	echo "Thanks for your payment!";

}

Or more complex conditions can be created by combining calls to has_tag(), for example:

if( wp_fusion()->user->has_tag( 'New Customer' ) && ! wp_fusion()->user->has_tag( 'Watched Intro Video' )  ) {

	echo "Welcome to our site! Please watch our introduction video here:";

}