In all actions for divorce or for the recovery of alimony, maintenance, or support in which a judgment of divorce has been issued or is pending and a contempt of court citation has been made by the court against either party, the court may, of its discretion, upon application therefor, award a reasonable sum as fees or compensation of the attorney or attorneys representing both parties.