The governing authorities of municipalities shall have the power and authority, in their discretion, to pay the expenses of any municipal peace or police officer which said officer incurs in attending any recognized training school for peace and law enforcement officers. Such governing authorities are further authorized and empowered to pay the salaries of such municipal peace and police officers during the time when such officers are attending such training schools. This section shall also apply to any other municipal officer or employee attending any recognized training school beneficial to his particular employment.