/** * Checks if a user is currently trialing * * @access public * @since 1.5 * @return bool */ function rcp_is_trialing( $user_id = 0 ) { if( empty( $user_id ) ) { $user_id = get_current_user_id(); } $member = new RCP_Member( $user_id ); return $member->is_trialing(); }