In all cases of foreclosure of mortgage the attorney’s fee shall be fixed by the court in which the proceedings are had, any stipulation in the mortgage to the contrary notwithstanding.
(Added by Stats. 1953, Ch. 52.)