get_tags()

get_tags()

#Overview
This function retrieves all CRM tags currently associated with the user.
#Get the current user』s tags
$tags = wp_fusion()->user->get_tags();
#Get the tags for a different user
$tags = wp_fusion()->user->get_tags( $user_id );
#Force an update of the user』s tags by sending an API call to your CRM
In this case the updated tag list will automatically be saved to the local user meta after it』s been retrieved.
$tags = wp_fusion()->user->get_tags( $user_id, true );

#Was this helpful?

Let us know if you liked the post. That』s the only way we can improve.

Yes

No