Cal. Civ. Proc. Code § 685.090
(a) Costs are added to and become a part of the judgment:
(c) If a writ or earnings withholding order is outstanding at the time the costs are added to the judgment pursuant to this section, the levying officer shall add the amount of those costs to the amount to be collected pursuant to the writ or earnings withholding order if the levying officer receives either of the following before the writ or earnings withholding order is returned: