In actions in which the cause of action shall, by assignment after the commencement of the action or in any other manner, become the property of a person not a party to the action such person shall be liable for the costs and disbursements in the same manner as if he were a party, and payment thereof may be enforced by attachment.
S.C. Code § 15-37-190