This function has been deprecated. Use RCP_Membership->is_trialing() instead.
rcp_is_trialing( $user_id = 0 )
This function can be used to determine whether or not a given user is currently in the middle of a free trial subscription.
- $user_id (int) (optional) - The ID of the user to check. If omitted, the ID of the currently logged-in user is used.
trueif the user is currently on a trial subscription.
falseif the user is not on a trial subscription, or their trial has expired.